naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Azure OpenAI API — Deployments description: 'Microsoft Azure Azure OpenAI API — Deployments. 7 operations. Lead operation: Microsoft Azure Post Deployments Deploymentid Audio Speech. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Deployments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: azure-openai-deployments baseUri: '' description: Microsoft Azure Azure OpenAI API — Deployments business capability. Self-contained, no shared references. resources: - name: deployments-deploymentId-audio-speech path: /deployments/{deploymentId}/audio/speech operations: - name: microsoftazuregeneratespeechfromtext method: POST description: Microsoft Azure Post Deployments Deploymentid Audio Speech outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploymentId in: path type: string description: Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request. required: true - name: body in: body type: string required: true - name: deployments-deploymentId-audio-transcriptions path: /deployments/{deploymentId}/audio/transcriptions operations: - name: microsoftazuregetaudiotranscriptionasplaintext method: POST description: Microsoft Azure Post Deployments Deploymentid Audio Transcriptions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploymentId in: path type: string description: Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request. required: true - name: deployments-deploymentId-audio-translations path: /deployments/{deploymentId}/audio/translations operations: - name: microsoftazuregetaudiotranslationasplaintext method: POST description: Microsoft Azure Post Deployments Deploymentid Audio Translations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploymentId in: path type: string description: Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request. required: true - name: deployments-deploymentId-chat-completions path: /deployments/{deploymentId}/chat/completions operations: - name: microsoftazuregetchatcompletions method: POST description: Microsoft Azure Post Deployments Deploymentid Chat Completions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploymentId in: path type: string description: Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request. required: true - name: body in: body type: string required: true - name: deployments-deploymentId-completions path: /deployments/{deploymentId}/completions operations: - name: microsoftazuregetcompletions method: POST description: Microsoft Azure Post Deployments Deploymentid Completions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploymentId in: path type: string description: Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request. required: true - name: body in: body type: string required: true - name: deployments-deploymentId-embeddings path: /deployments/{deploymentId}/embeddings operations: - name: microsoftazuregetembeddings method: POST description: Microsoft Azure Post Deployments Deploymentid Embeddings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploymentId in: path type: string description: Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request. required: true - name: body in: body type: string required: true - name: deployments-deploymentId-images-generations path: /deployments/{deploymentId}/images/generations operations: - name: microsoftazuregetimagegenerations method: POST description: Microsoft Azure Post Deployments Deploymentid Images Generations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deploymentId in: path type: string description: Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request. required: true - name: body in: body type: string required: true exposes: - type: rest namespace: azure-openai-deployments-rest port: 8080 description: REST adapter for Microsoft Azure Azure OpenAI API — Deployments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deployments/{deploymentid}/audio/speech name: deployments-deploymentid-audio-speech description: REST surface for deployments-deploymentId-audio-speech. operations: - method: POST name: microsoftazuregeneratespeechfromtext description: Microsoft Azure Post Deployments Deploymentid Audio Speech call: azure-openai-deployments.microsoftazuregeneratespeechfromtext with: deploymentId: rest.deploymentId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deploymentid}/audio/transcriptions name: deployments-deploymentid-audio-transcriptions description: REST surface for deployments-deploymentId-audio-transcriptions. operations: - method: POST name: microsoftazuregetaudiotranscriptionasplaintext description: Microsoft Azure Post Deployments Deploymentid Audio Transcriptions call: azure-openai-deployments.microsoftazuregetaudiotranscriptionasplaintext with: deploymentId: rest.deploymentId outputParameters: - type: object mapping: $. - path: /v1/deployments/{deploymentid}/audio/translations name: deployments-deploymentid-audio-translations description: REST surface for deployments-deploymentId-audio-translations. operations: - method: POST name: microsoftazuregetaudiotranslationasplaintext description: Microsoft Azure Post Deployments Deploymentid Audio Translations call: azure-openai-deployments.microsoftazuregetaudiotranslationasplaintext with: deploymentId: rest.deploymentId outputParameters: - type: object mapping: $. - path: /v1/deployments/{deploymentid}/chat/completions name: deployments-deploymentid-chat-completions description: REST surface for deployments-deploymentId-chat-completions. operations: - method: POST name: microsoftazuregetchatcompletions description: Microsoft Azure Post Deployments Deploymentid Chat Completions call: azure-openai-deployments.microsoftazuregetchatcompletions with: deploymentId: rest.deploymentId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deploymentid}/completions name: deployments-deploymentid-completions description: REST surface for deployments-deploymentId-completions. operations: - method: POST name: microsoftazuregetcompletions description: Microsoft Azure Post Deployments Deploymentid Completions call: azure-openai-deployments.microsoftazuregetcompletions with: deploymentId: rest.deploymentId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deploymentid}/embeddings name: deployments-deploymentid-embeddings description: REST surface for deployments-deploymentId-embeddings. operations: - method: POST name: microsoftazuregetembeddings description: Microsoft Azure Post Deployments Deploymentid Embeddings call: azure-openai-deployments.microsoftazuregetembeddings with: deploymentId: rest.deploymentId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deploymentid}/images/generations name: deployments-deploymentid-images-generations description: REST surface for deployments-deploymentId-images-generations. operations: - method: POST name: microsoftazuregetimagegenerations description: Microsoft Azure Post Deployments Deploymentid Images Generations call: azure-openai-deployments.microsoftazuregetimagegenerations with: deploymentId: rest.deploymentId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: azure-openai-deployments-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Azure OpenAI API — Deployments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-post-deployments-deploymentid description: Microsoft Azure Post Deployments Deploymentid Audio Speech hints: readOnly: false destructive: false idempotent: false call: azure-openai-deployments.microsoftazuregeneratespeechfromtext with: deploymentId: tools.deploymentId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-post-deployments-deploymentid-2 description: Microsoft Azure Post Deployments Deploymentid Audio Transcriptions hints: readOnly: false destructive: false idempotent: false call: azure-openai-deployments.microsoftazuregetaudiotranscriptionasplaintext with: deploymentId: tools.deploymentId outputParameters: - type: object mapping: $. - name: microsoft-azure-post-deployments-deploymentid-3 description: Microsoft Azure Post Deployments Deploymentid Audio Translations hints: readOnly: false destructive: false idempotent: false call: azure-openai-deployments.microsoftazuregetaudiotranslationasplaintext with: deploymentId: tools.deploymentId outputParameters: - type: object mapping: $. - name: microsoft-azure-post-deployments-deploymentid-4 description: Microsoft Azure Post Deployments Deploymentid Chat Completions hints: readOnly: false destructive: false idempotent: false call: azure-openai-deployments.microsoftazuregetchatcompletions with: deploymentId: tools.deploymentId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-post-deployments-deploymentid-5 description: Microsoft Azure Post Deployments Deploymentid Completions hints: readOnly: false destructive: false idempotent: false call: azure-openai-deployments.microsoftazuregetcompletions with: deploymentId: tools.deploymentId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-post-deployments-deploymentid-6 description: Microsoft Azure Post Deployments Deploymentid Embeddings hints: readOnly: false destructive: false idempotent: false call: azure-openai-deployments.microsoftazuregetembeddings with: deploymentId: tools.deploymentId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-post-deployments-deploymentid-7 description: Microsoft Azure Post Deployments Deploymentid Images Generations hints: readOnly: false destructive: false idempotent: false call: azure-openai-deployments.microsoftazuregetimagegenerations with: deploymentId: tools.deploymentId body: tools.body outputParameters: - type: object mapping: $.