naftiko: 1.0.0-alpha2 info: label: MessageBird Voice Calling API — Call Flows description: 'MessageBird Voice Calling API — Call Flows. 5 operations. Lead operation: List all call flows. Self-contained Naftiko capability covering one Messagebird business surface.' tags: - Messagebird - Call Flows 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-call-flows baseUri: https://voice.messagebird.com description: MessageBird Voice Calling API — Call Flows business capability. Self-contained, no shared references. resources: - name: call-flows path: /call-flows operations: - name: listcallflows method: GET description: List all call flows outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcallflow method: POST description: Create a call flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: call-flows-callFlowId path: /call-flows/{callFlowId} operations: - name: viewcallflow method: GET description: View a call flow outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatecallflow method: PUT description: Update a call flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletecallflow method: DELETE description: Delete a call flow 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-call-flows-rest port: 8080 description: REST adapter for MessageBird Voice Calling API — Call Flows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/call-flows name: call-flows description: REST surface for call-flows. operations: - method: GET name: listcallflows description: List all call flows call: voice-calling-call-flows.listcallflows outputParameters: - type: object mapping: $. - method: POST name: createcallflow description: Create a call flow call: voice-calling-call-flows.createcallflow with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/call-flows/{callflowid} name: call-flows-callflowid description: REST surface for call-flows-callFlowId. operations: - method: GET name: viewcallflow description: View a call flow call: voice-calling-call-flows.viewcallflow outputParameters: - type: object mapping: $. - method: PUT name: updatecallflow description: Update a call flow call: voice-calling-call-flows.updatecallflow with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecallflow description: Delete a call flow call: voice-calling-call-flows.deletecallflow outputParameters: - type: object mapping: $. - type: mcp namespace: voice-calling-call-flows-mcp port: 9090 transport: http description: MCP adapter for MessageBird Voice Calling API — Call Flows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-call-flows description: List all call flows hints: readOnly: true destructive: false idempotent: true call: voice-calling-call-flows.listcallflows outputParameters: - type: object mapping: $. - name: create-call-flow description: Create a call flow hints: readOnly: false destructive: false idempotent: false call: voice-calling-call-flows.createcallflow with: body: tools.body outputParameters: - type: object mapping: $. - name: view-call-flow description: View a call flow hints: readOnly: true destructive: false idempotent: true call: voice-calling-call-flows.viewcallflow outputParameters: - type: object mapping: $. - name: update-call-flow description: Update a call flow hints: readOnly: false destructive: false idempotent: true call: voice-calling-call-flows.updatecallflow with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-call-flow description: Delete a call flow hints: readOnly: false destructive: true idempotent: true call: voice-calling-call-flows.deletecallflow outputParameters: - type: object mapping: $.