naftiko: 1.0.0-alpha2 info: label: MessageBird Voice Calling API — Recordings description: 'MessageBird Voice Calling API — Recordings. 3 operations. Lead operation: List recordings for a leg. Self-contained Naftiko capability covering one Messagebird business surface.' tags: - Messagebird - Recordings 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-recordings baseUri: https://voice.messagebird.com description: MessageBird Voice Calling API — Recordings business capability. Self-contained, no shared references. resources: - name: calls-callId-legs-legId-recordings path: /calls/{callId}/legs/{legId}/recordings operations: - name: listrecordings method: GET description: List recordings for a leg outputRawFormat: json outputParameters: - name: result type: object value: $. - name: recordings-recordingId path: /recordings/{recordingId} operations: - name: viewrecording method: GET description: View a recording outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deleterecording method: DELETE description: Delete a recording 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-recordings-rest port: 8080 description: REST adapter for MessageBird Voice Calling API — Recordings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/calls/{callid}/legs/{legid}/recordings name: calls-callid-legs-legid-recordings description: REST surface for calls-callId-legs-legId-recordings. operations: - method: GET name: listrecordings description: List recordings for a leg call: voice-calling-recordings.listrecordings outputParameters: - type: object mapping: $. - path: /v1/recordings/{recordingid} name: recordings-recordingid description: REST surface for recordings-recordingId. operations: - method: GET name: viewrecording description: View a recording call: voice-calling-recordings.viewrecording outputParameters: - type: object mapping: $. - method: DELETE name: deleterecording description: Delete a recording call: voice-calling-recordings.deleterecording outputParameters: - type: object mapping: $. - type: mcp namespace: voice-calling-recordings-mcp port: 9090 transport: http description: MCP adapter for MessageBird Voice Calling API — Recordings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-recordings-leg description: List recordings for a leg hints: readOnly: true destructive: false idempotent: true call: voice-calling-recordings.listrecordings outputParameters: - type: object mapping: $. - name: view-recording description: View a recording hints: readOnly: true destructive: false idempotent: true call: voice-calling-recordings.viewrecording outputParameters: - type: object mapping: $. - name: delete-recording description: Delete a recording hints: readOnly: false destructive: true idempotent: true call: voice-calling-recordings.deleterecording outputParameters: - type: object mapping: $.