naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Azure Cognitive Services Management API — Accounts description: 'Microsoft Azure Azure Cognitive Services Management API — Accounts. 8 operations. Lead operation: Microsoft Azure List Cognitive Services Accounts. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Accounts 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-cognitive-services-accounts baseUri: https://management.azure.com description: Microsoft Azure Azure Cognitive Services Management API — Accounts business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.CognitiveServices-accounts path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts operations: - name: accountslist method: GET description: Microsoft Azure List Cognitive Services Accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts operations: - name: accountslistbyresourcegroup method: GET description: Microsoft Azure List Accounts by Resource Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName} operations: - name: accountsget method: GET description: Microsoft Azure Get a Cognitive Services Account outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accountscreate method: PUT description: Microsoft Azure Create or Update a Cognitive Services Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accountsdelete method: DELETE description: Microsoft Azure Delete a Cognitive Services Account outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accountsupdate method: PATCH description: Microsoft Azure Update a Cognitive Services Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/listKeys operations: - name: accountslistkeys method: POST description: Microsoft Azure List Account Keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/regenerateKey operations: - name: accountsregeneratekey method: POST description: Microsoft Azure Regenerate an Account Key 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.MICROSOFT_AZURE_API_KEY}}' exposes: - type: rest namespace: azure-cognitive-services-accounts-rest port: 8080 description: REST adapter for Microsoft Azure Azure Cognitive Services Management API — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-cognitiveservices/accounts name: subscriptions-subscriptionid-providers-microsoft-cognitiveservices-accounts description: REST surface for subscriptions-subscriptionId-providers-Microsoft.CognitiveServices-accounts. operations: - method: GET name: accountslist description: Microsoft Azure List Cognitive Services Accounts call: azure-cognitive-services-accounts.accountslist outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-cognitiveservices/accounts name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: accountslistbyresourcegroup description: Microsoft Azure List Accounts by Resource Group call: azure-cognitive-services-accounts.accountslistbyresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-cognitiveservices/accounts/{accountname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: accountsget description: Microsoft Azure Get a Cognitive Services Account call: azure-cognitive-services-accounts.accountsget outputParameters: - type: object mapping: $. - method: PUT name: accountscreate description: Microsoft Azure Create or Update a Cognitive Services Account call: azure-cognitive-services-accounts.accountscreate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: accountsdelete description: Microsoft Azure Delete a Cognitive Services Account call: azure-cognitive-services-accounts.accountsdelete outputParameters: - type: object mapping: $. - method: PATCH name: accountsupdate description: Microsoft Azure Update a Cognitive Services Account call: azure-cognitive-services-accounts.accountsupdate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-cognitiveservices/accounts/{accountname}/listkeys name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: accountslistkeys description: Microsoft Azure List Account Keys call: azure-cognitive-services-accounts.accountslistkeys outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-cognitiveservices/accounts/{accountname}/regeneratekey name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: accountsregeneratekey description: Microsoft Azure Regenerate an Account Key call: azure-cognitive-services-accounts.accountsregeneratekey with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: azure-cognitive-services-accounts-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Azure Cognitive Services Management API — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-list-cognitive-services description: Microsoft Azure List Cognitive Services Accounts hints: readOnly: true destructive: false idempotent: true call: azure-cognitive-services-accounts.accountslist outputParameters: - type: object mapping: $. - name: microsoft-azure-list-accounts-resource description: Microsoft Azure List Accounts by Resource Group hints: readOnly: true destructive: false idempotent: true call: azure-cognitive-services-accounts.accountslistbyresourcegroup outputParameters: - type: object mapping: $. - name: microsoft-azure-get-cognitive-services description: Microsoft Azure Get a Cognitive Services Account hints: readOnly: true destructive: false idempotent: true call: azure-cognitive-services-accounts.accountsget outputParameters: - type: object mapping: $. - name: microsoft-azure-create-update-cognitive description: Microsoft Azure Create or Update a Cognitive Services Account hints: readOnly: false destructive: false idempotent: true call: azure-cognitive-services-accounts.accountscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-cognitive-services description: Microsoft Azure Delete a Cognitive Services Account hints: readOnly: false destructive: true idempotent: true call: azure-cognitive-services-accounts.accountsdelete outputParameters: - type: object mapping: $. - name: microsoft-azure-update-cognitive-services description: Microsoft Azure Update a Cognitive Services Account hints: readOnly: false destructive: false idempotent: true call: azure-cognitive-services-accounts.accountsupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-list-account-keys description: Microsoft Azure List Account Keys hints: readOnly: true destructive: false idempotent: false call: azure-cognitive-services-accounts.accountslistkeys outputParameters: - type: object mapping: $. - name: microsoft-azure-regenerate-account-key description: Microsoft Azure Regenerate an Account Key hints: readOnly: false destructive: false idempotent: false call: azure-cognitive-services-accounts.accountsregeneratekey with: body: tools.body outputParameters: - type: object mapping: $.