naftiko: 1.0.0-alpha2 info: label: Qubrid AI Inference API — Chat Completions description: 'Qubrid AI Inference API — Chat Completions. 1 operations. Lead operation: Create a chat completion. Self-contained Naftiko capability covering one Qubrid Ai business surface.' tags: - Qubrid Ai - Chat Completions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: QUBRID_AI_API_KEY: QUBRID_AI_API_KEY capability: consumes: - type: http namespace: inference-chat-completions baseUri: https://platform.qubrid.com/v1 description: Qubrid AI Inference API — Chat Completions business capability. Self-contained, no shared references. resources: - name: chat-completions path: /chat/completions operations: - name: createchatcompletion method: POST description: Create a chat completion outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.QUBRID_AI_API_KEY}}' exposes: - type: rest namespace: inference-chat-completions-rest port: 8080 description: REST adapter for Qubrid AI Inference API — Chat Completions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/chat/completions name: chat-completions description: REST surface for chat-completions. operations: - method: POST name: createchatcompletion description: Create a chat completion call: inference-chat-completions.createchatcompletion with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: inference-chat-completions-mcp port: 9090 transport: http description: MCP adapter for Qubrid AI Inference API — Chat Completions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-chat-completion description: Create a chat completion hints: readOnly: false destructive: false idempotent: false call: inference-chat-completions.createchatcompletion with: body: tools.body outputParameters: - type: object mapping: $.