Microsoft Azure · Capability

Microsoft Azure Azure Cosmos DB REST API — Containers

Microsoft Azure Azure Cosmos DB REST API — Containers. 5 operations. Lead operation: Microsoft Azure List Containers. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureContainers

What You Can Do

GET
Containerslist — Microsoft Azure List Containers
/v1/dbs/{databaseid}/colls
POST
Containerscreate — Microsoft Azure Create a Container
/v1/dbs/{databaseid}/colls
GET
Containersget — Microsoft Azure Get a Container
/v1/dbs/{databaseid}/colls/{containerid}
PUT
Containersreplace — Microsoft Azure Replace a Container
/v1/dbs/{databaseid}/colls/{containerid}
DELETE
Containersdelete — Microsoft Azure Delete a Container
/v1/dbs/{databaseid}/colls/{containerid}

MCP Tools

microsoft-azure-list-containers

Microsoft Azure List Containers

read-only idempotent
microsoft-azure-create-container

Microsoft Azure Create a Container

microsoft-azure-get-container

Microsoft Azure Get a Container

read-only idempotent
microsoft-azure-replace-container

Microsoft Azure Replace a Container

idempotent
microsoft-azure-delete-container

Microsoft Azure Delete a Container

idempotent

Capability Spec

azure-cosmos-db-containers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure Cosmos DB REST API — Containers
  description: 'Microsoft Azure Azure Cosmos DB REST API — Containers. 5 operations. Lead operation: Microsoft Azure List
    Containers. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Containers
  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-containers
    baseUri: https://{accountName}.documents.azure.com
    description: Microsoft Azure Azure Cosmos DB REST API — Containers business capability. Self-contained, no shared references.
    resources:
    - name: dbs-databaseId-colls
      path: /dbs/{databaseId}/colls
      operations:
      - name: containerslist
        method: GET
        description: Microsoft Azure List Containers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: containerscreate
        method: POST
        description: Microsoft Azure Create a Container
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dbs-databaseId-colls-containerId
      path: /dbs/{databaseId}/colls/{containerId}
      operations:
      - name: containersget
        method: GET
        description: Microsoft Azure Get a Container
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: containersreplace
        method: PUT
        description: Microsoft Azure Replace a Container
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: containersdelete
        method: DELETE
        description: Microsoft Azure Delete a Container
        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-containers-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure Cosmos DB REST API — Containers. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/dbs/{databaseid}/colls
      name: dbs-databaseid-colls
      description: REST surface for dbs-databaseId-colls.
      operations:
      - method: GET
        name: containerslist
        description: Microsoft Azure List Containers
        call: azure-cosmos-db-containers.containerslist
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: containerscreate
        description: Microsoft Azure Create a Container
        call: azure-cosmos-db-containers.containerscreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dbs/{databaseid}/colls/{containerid}
      name: dbs-databaseid-colls-containerid
      description: REST surface for dbs-databaseId-colls-containerId.
      operations:
      - method: GET
        name: containersget
        description: Microsoft Azure Get a Container
        call: azure-cosmos-db-containers.containersget
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: containersreplace
        description: Microsoft Azure Replace a Container
        call: azure-cosmos-db-containers.containersreplace
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: containersdelete
        description: Microsoft Azure Delete a Container
        call: azure-cosmos-db-containers.containersdelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-cosmos-db-containers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure Cosmos DB REST API — Containers. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-list-containers
      description: Microsoft Azure List Containers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-cosmos-db-containers.containerslist
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-create-container
      description: Microsoft Azure Create a Container
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-cosmos-db-containers.containerscreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-container
      description: Microsoft Azure Get a Container
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-cosmos-db-containers.containersget
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-replace-container
      description: Microsoft Azure Replace a Container
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-cosmos-db-containers.containersreplace
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-container
      description: Microsoft Azure Delete a Container
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-cosmos-db-containers.containersdelete
      outputParameters:
      - type: object
        mapping: $.