Microsoft Azure · Capability

Microsoft Azure Azure IoT Central — Query

Microsoft Azure Azure IoT Central — Query. 1 operations. Lead operation: Microsoft Azure Run A Query And Obtain The Result. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureQuery

What You Can Do

POST
Microsoftazurequeryrun — Microsoft Azure Run A Query And Obtain The Result
/v1/query

MCP Tools

microsoft-azure-run-query-and

Microsoft Azure Run A Query And Obtain The Result

read-only

Capability Spec

azure-iot-central-query.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure IoT Central — Query
  description: 'Microsoft Azure Azure IoT Central — Query. 1 operations. Lead operation: Microsoft Azure Run A Query And Obtain
    The Result. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Query
  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-iot-central-query
    baseUri: ''
    description: Microsoft Azure Azure IoT Central — Query business capability. Self-contained, no shared references.
    resources:
    - name: query
      path: /query
      operations:
      - name: microsoftazurequeryrun
        method: POST
        description: Microsoft Azure Run A Query And Obtain The Result
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          description: query, more details on [IoT central query language](https://aka.ms/iotcql).
          required: true
  exposes:
  - type: rest
    namespace: azure-iot-central-query-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure IoT Central — Query. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/query
      name: query
      description: REST surface for query.
      operations:
      - method: POST
        name: microsoftazurequeryrun
        description: Microsoft Azure Run A Query And Obtain The Result
        call: azure-iot-central-query.microsoftazurequeryrun
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-iot-central-query-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure IoT Central — Query. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-azure-run-query-and
      description: Microsoft Azure Run A Query And Obtain The Result
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: azure-iot-central-query.microsoftazurequeryrun
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.