Microsoft Azure · Capability

Microsoft Azure Azure Digital Twins API — Models

Microsoft Azure Azure Digital Twins API — Models. 5 operations. Lead operation: Microsoft Azure Post Models. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureModels

What You Can Do

POST
Microsoftazuredigitaltwinmodelsadd — Microsoft Azure Post Models
/v1/models
GET
Microsoftazuredigitaltwinmodelslist — Microsoft Azure Get Models
/v1/models
GET
Microsoftazuredigitaltwinmodelsgetbyid — Microsoft Azure Get Models Id
/v1/models/{id}
PATCH
Microsoftazuredigitaltwinmodelsupdate — Microsoft Azure Patch Models Id
/v1/models/{id}
DELETE
Microsoftazuredigitaltwinmodelsdelete — Microsoft Azure Delete Models Id
/v1/models/{id}

MCP Tools

microsoft-azure-post-models

Microsoft Azure Post Models

microsoft-azure-get-models

Microsoft Azure Get Models

read-only idempotent
microsoft-azure-get-models-id

Microsoft Azure Get Models Id

read-only idempotent
microsoft-azure-patch-models-id

Microsoft Azure Patch Models Id

idempotent
microsoft-azure-delete-models-id

Microsoft Azure Delete Models Id

idempotent

Capability Spec

azure-digital-twins-models.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure Digital Twins API — Models
  description: 'Microsoft Azure Azure Digital Twins API — Models. 5 operations. Lead operation: Microsoft Azure Post Models.
    Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Models
  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-digital-twins-models
    baseUri: https://digitaltwins-hostname
    description: Microsoft Azure Azure Digital Twins API — Models business capability. Self-contained, no shared references.
    resources:
    - name: models
      path: /models
      operations:
      - name: microsoftazuredigitaltwinmodelsadd
        method: POST
        description: Microsoft Azure Post Models
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: models
          in: body
          type: array
          description: An array of models to add.
          required: true
      - name: microsoftazuredigitaltwinmodelslist
        method: GET
        description: Microsoft Azure Get Models
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dependenciesFor
          in: query
          type: array
          description: If specified, only return the set of the specified models along with their dependencies. If omitted,
            all models are retrieved.
    - name: models-id
      path: /models/{id}
      operations:
      - name: microsoftazuredigitaltwinmodelsgetbyid
        method: GET
        description: Microsoft Azure Get Models Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: microsoftazuredigitaltwinmodelsupdate
        method: PATCH
        description: Microsoft Azure Patch Models Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: updateModel
          in: body
          type: array
          description: An update specification described by JSON Patch. Only the decommissioned property can be replaced.
          required: true
      - name: microsoftazuredigitaltwinmodelsdelete
        method: DELETE
        description: Microsoft Azure Delete Models Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: azure-digital-twins-models-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure Digital Twins API — Models. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/models
      name: models
      description: REST surface for models.
      operations:
      - method: POST
        name: microsoftazuredigitaltwinmodelsadd
        description: Microsoft Azure Post Models
        call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsadd
        with:
          models: rest.models
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: microsoftazuredigitaltwinmodelslist
        description: Microsoft Azure Get Models
        call: azure-digital-twins-models.microsoftazuredigitaltwinmodelslist
        with:
          dependenciesFor: rest.dependenciesFor
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/models/{id}
      name: models-id
      description: REST surface for models-id.
      operations:
      - method: GET
        name: microsoftazuredigitaltwinmodelsgetbyid
        description: Microsoft Azure Get Models Id
        call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsgetbyid
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazuredigitaltwinmodelsupdate
        description: Microsoft Azure Patch Models Id
        call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsupdate
        with:
          updateModel: rest.updateModel
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazuredigitaltwinmodelsdelete
        description: Microsoft Azure Delete Models Id
        call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsdelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-digital-twins-models-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure Digital Twins API — Models. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-post-models
      description: Microsoft Azure Post Models
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsadd
      with:
        models: tools.models
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-models
      description: Microsoft Azure Get Models
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-digital-twins-models.microsoftazuredigitaltwinmodelslist
      with:
        dependenciesFor: tools.dependenciesFor
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-models-id
      description: Microsoft Azure Get Models Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsgetbyid
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-patch-models-id
      description: Microsoft Azure Patch Models Id
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsupdate
      with:
        updateModel: tools.updateModel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-models-id
      description: Microsoft Azure Delete Models Id
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-digital-twins-models.microsoftazuredigitaltwinmodelsdelete
      outputParameters:
      - type: object
        mapping: $.