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