Microsoft Azure · Capability

Microsoft Azure Azure IoT Central — Roles

Microsoft Azure Azure IoT Central — Roles. 2 operations. Lead operation: Microsoft Azure Get The List Of Roles In An Application. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureRoles

What You Can Do

GET
Microsoftazureroleslist — Microsoft Azure Get The List Of Roles In An Application
/v1/roles
GET
Microsoftazurerolesget — Microsoft Azure Get A Role By Id
/v1/roles/{roleid}

MCP Tools

microsoft-azure-get-list-roles

Microsoft Azure Get The List Of Roles In An Application

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

Microsoft Azure Get A Role By Id

read-only idempotent

Capability Spec

azure-iot-central-roles.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure IoT Central — Roles
  description: 'Microsoft Azure Azure IoT Central — Roles. 2 operations. Lead operation: Microsoft Azure Get The List Of Roles
    In An Application. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Roles
  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-roles
    baseUri: ''
    description: Microsoft Azure Azure IoT Central — Roles business capability. Self-contained, no shared references.
    resources:
    - name: roles
      path: /roles
      operations:
      - name: microsoftazureroleslist
        method: GET
        description: Microsoft Azure Get The List Of Roles In An Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: roles-roleId
      path: /roles/{roleId}
      operations:
      - name: microsoftazurerolesget
        method: GET
        description: Microsoft Azure Get A Role By Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: roleId
          in: path
          type: string
          description: Unique ID for the role.
          required: true
  exposes:
  - type: rest
    namespace: azure-iot-central-roles-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure IoT Central — Roles. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/roles
      name: roles
      description: REST surface for roles.
      operations:
      - method: GET
        name: microsoftazureroleslist
        description: Microsoft Azure Get The List Of Roles In An Application
        call: azure-iot-central-roles.microsoftazureroleslist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/roles/{roleid}
      name: roles-roleid
      description: REST surface for roles-roleId.
      operations:
      - method: GET
        name: microsoftazurerolesget
        description: Microsoft Azure Get A Role By Id
        call: azure-iot-central-roles.microsoftazurerolesget
        with:
          roleId: rest.roleId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-iot-central-roles-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure IoT Central — Roles. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-list-roles
      description: Microsoft Azure Get The List Of Roles In An Application
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-iot-central-roles.microsoftazureroleslist
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-role-id
      description: Microsoft Azure Get A Role By Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-iot-central-roles.microsoftazurerolesget
      with:
        roleId: tools.roleId
      outputParameters:
      - type: object
        mapping: $.