naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Azure Cosmos DB REST API — Databases description: 'Microsoft Azure Azure Cosmos DB REST API — Databases. 4 operations. Lead operation: Microsoft Azure List Databases. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Databases 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-cosmos-db-databases baseUri: https://{accountName}.documents.azure.com description: Microsoft Azure Azure Cosmos DB REST API — Databases business capability. Self-contained, no shared references. resources: - name: dbs path: /dbs operations: - name: databaseslist method: GET description: Microsoft Azure List Databases outputRawFormat: json outputParameters: - name: result type: object value: $. - name: databasescreate method: POST description: Microsoft Azure Create a Database outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: dbs-databaseId path: /dbs/{databaseId} operations: - name: databasesget method: GET description: Microsoft Azure Get a Database outputRawFormat: json outputParameters: - name: result type: object value: $. - name: databasesdelete method: DELETE description: Microsoft Azure Delete a Database outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.MICROSOFT_AZURE_API_KEY}}' placement: header exposes: - type: rest namespace: azure-cosmos-db-databases-rest port: 8080 description: REST adapter for Microsoft Azure Azure Cosmos DB REST API — Databases. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/dbs name: dbs description: REST surface for dbs. operations: - method: GET name: databaseslist description: Microsoft Azure List Databases call: azure-cosmos-db-databases.databaseslist outputParameters: - type: object mapping: $. - method: POST name: databasescreate description: Microsoft Azure Create a Database call: azure-cosmos-db-databases.databasescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/dbs/{databaseid} name: dbs-databaseid description: REST surface for dbs-databaseId. operations: - method: GET name: databasesget description: Microsoft Azure Get a Database call: azure-cosmos-db-databases.databasesget outputParameters: - type: object mapping: $. - method: DELETE name: databasesdelete description: Microsoft Azure Delete a Database call: azure-cosmos-db-databases.databasesdelete outputParameters: - type: object mapping: $. - type: mcp namespace: azure-cosmos-db-databases-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Azure Cosmos DB REST API — Databases. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-list-databases description: Microsoft Azure List Databases hints: readOnly: true destructive: false idempotent: true call: azure-cosmos-db-databases.databaseslist outputParameters: - type: object mapping: $. - name: microsoft-azure-create-database description: Microsoft Azure Create a Database hints: readOnly: false destructive: false idempotent: false call: azure-cosmos-db-databases.databasescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-get-database description: Microsoft Azure Get a Database hints: readOnly: true destructive: false idempotent: true call: azure-cosmos-db-databases.databasesget outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-database description: Microsoft Azure Delete a Database hints: readOnly: false destructive: true idempotent: true call: azure-cosmos-db-databases.databasesdelete outputParameters: - type: object mapping: $.