naftiko: 1.0.0-alpha2 info: label: Bandwidth Voice API — Calls description: 'Bandwidth Voice API — Calls. 3 operations. Lead operation: Create a call. Self-contained Naftiko capability covering one Bandwidth business surface.' tags: - Bandwidth - Calls created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BANDWIDTH_API_KEY: BANDWIDTH_API_KEY capability: consumes: - type: http namespace: voice-calls baseUri: https://voice.bandwidth.com/api/v2 description: Bandwidth Voice API — Calls business capability. Self-contained, no shared references. resources: - name: accounts-accountId-calls path: /accounts/{accountId}/calls operations: - name: createcall method: POST description: Create a call outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounts-accountId-calls-callId path: /accounts/{accountId}/calls/{callId} operations: - name: getcall method: GET description: Get call information outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatecall method: POST description: Update a call outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.BANDWIDTH_USER}}' password: '{{env.BANDWIDTH_PASS}}' exposes: - type: rest namespace: voice-calls-rest port: 8080 description: REST adapter for Bandwidth Voice API — Calls. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{accountid}/calls name: accounts-accountid-calls description: REST surface for accounts-accountId-calls. operations: - method: POST name: createcall description: Create a call call: voice-calls.createcall with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{accountid}/calls/{callid} name: accounts-accountid-calls-callid description: REST surface for accounts-accountId-calls-callId. operations: - method: GET name: getcall description: Get call information call: voice-calls.getcall outputParameters: - type: object mapping: $. - method: POST name: updatecall description: Update a call call: voice-calls.updatecall with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: voice-calls-mcp port: 9090 transport: http description: MCP adapter for Bandwidth Voice API — Calls. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-call description: Create a call hints: readOnly: false destructive: false idempotent: false call: voice-calls.createcall with: body: tools.body outputParameters: - type: object mapping: $. - name: get-call-information description: Get call information hints: readOnly: true destructive: false idempotent: true call: voice-calls.getcall outputParameters: - type: object mapping: $. - name: update-call description: Update a call hints: readOnly: false destructive: false idempotent: false call: voice-calls.updatecall with: body: tools.body outputParameters: - type: object mapping: $.