naftiko: 1.0.0-alpha2 info: label: Telnyx API — Dialogflow Integration description: 'Telnyx API — Dialogflow Integration. 4 operations. Lead operation: Delete stored Dialogflow Connection. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Dialogflow Integration created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-dialogflow-integration baseUri: https://api.telnyx.com/v2 description: Telnyx API — Dialogflow Integration business capability. Self-contained, no shared references. resources: - name: dialogflow_connections-connection_id path: /dialogflow_connections/{connection_id} operations: - name: deletedialogflowconnection method: DELETE description: Delete stored Dialogflow Connection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getdialogflowconnection method: GET description: Retrieve stored Dialogflow Connection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createdialogflowconnection method: POST description: Create a Dialogflow Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: updatedialogflowconnection method: PUT description: Update stored Dialogflow Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-dialogflow-integration-rest port: 8080 description: REST adapter for Telnyx API — Dialogflow Integration. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/dialogflow-connections/{connection-id} name: dialogflow-connections-connection-id description: REST surface for dialogflow_connections-connection_id. operations: - method: DELETE name: deletedialogflowconnection description: Delete stored Dialogflow Connection call: telnyx-dialogflow-integration.deletedialogflowconnection outputParameters: - type: object mapping: $. - method: GET name: getdialogflowconnection description: Retrieve stored Dialogflow Connection call: telnyx-dialogflow-integration.getdialogflowconnection outputParameters: - type: object mapping: $. - method: POST name: createdialogflowconnection description: Create a Dialogflow Connection call: telnyx-dialogflow-integration.createdialogflowconnection with: body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatedialogflowconnection description: Update stored Dialogflow Connection call: telnyx-dialogflow-integration.updatedialogflowconnection with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-dialogflow-integration-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Dialogflow Integration. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: delete-stored-dialogflow-connection description: Delete stored Dialogflow Connection hints: readOnly: false destructive: true idempotent: true call: telnyx-dialogflow-integration.deletedialogflowconnection outputParameters: - type: object mapping: $. - name: retrieve-stored-dialogflow-connection description: Retrieve stored Dialogflow Connection hints: readOnly: true destructive: false idempotent: true call: telnyx-dialogflow-integration.getdialogflowconnection outputParameters: - type: object mapping: $. - name: create-dialogflow-connection description: Create a Dialogflow Connection hints: readOnly: false destructive: false idempotent: false call: telnyx-dialogflow-integration.createdialogflowconnection with: body: tools.body outputParameters: - type: object mapping: $. - name: update-stored-dialogflow-connection description: Update stored Dialogflow Connection hints: readOnly: false destructive: false idempotent: true call: telnyx-dialogflow-integration.updatedialogflowconnection with: body: tools.body outputParameters: - type: object mapping: $.