messagebird · Capability

MessageBird Voice Calling API — Legs

MessageBird Voice Calling API — Legs. 1 operations. Lead operation: List legs for a call. Self-contained Naftiko capability covering one Messagebird business surface.

Run with Naftiko MessagebirdLegs

What You Can Do

GET
Listlegs — List legs for a call
/v1/calls/{callid}/legs

MCP Tools

list-legs-call

List legs for a call

read-only idempotent

Capability Spec

voice-calling-legs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MessageBird Voice Calling API — Legs
  description: 'MessageBird Voice Calling API — Legs. 1 operations. Lead operation: List legs for a call. Self-contained Naftiko
    capability covering one Messagebird business surface.'
  tags:
  - Messagebird
  - Legs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MESSAGEBIRD_API_KEY: MESSAGEBIRD_API_KEY
capability:
  consumes:
  - type: http
    namespace: voice-calling-legs
    baseUri: https://voice.messagebird.com
    description: MessageBird Voice Calling API — Legs business capability. Self-contained, no shared references.
    resources:
    - name: calls-callId-legs
      path: /calls/{callId}/legs
      operations:
      - name: listlegs
        method: GET
        description: List legs for a call
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.MESSAGEBIRD_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: voice-calling-legs-rest
    port: 8080
    description: REST adapter for MessageBird Voice Calling API — Legs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/calls/{callid}/legs
      name: calls-callid-legs
      description: REST surface for calls-callId-legs.
      operations:
      - method: GET
        name: listlegs
        description: List legs for a call
        call: voice-calling-legs.listlegs
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: voice-calling-legs-mcp
    port: 9090
    transport: http
    description: MCP adapter for MessageBird Voice Calling API — Legs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-legs-call
      description: List legs for a call
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: voice-calling-legs.listlegs
      outputParameters:
      - type: object
        mapping: $.