Azure ExpressRoute · Capability

Azure ExpressRoute REST API — ExpressRoute Circuits

Azure ExpressRoute REST API — ExpressRoute Circuits. 6 operations. Lead operation: Azure ExpressRoute REST API List by subscription. Self-contained Naftiko capability covering one Microsoft Azure Express Route business surface.

Run with Naftiko Microsoft Azure Express RouteExpressRoute Circuits

What You Can Do

GET
Listexpressroutecircuitsbysubscription — Azure ExpressRoute REST API List by subscription
/v1/subscriptions/{subscriptionid}/providers/microsoft-network/expressroutecircuits
GET
Listexpressroutecircuitsbyresourcegroup — Azure ExpressRoute REST API List by resource group
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/expressroutecircuits
GET
Getexpressroutecircuits — Azure ExpressRoute REST API Get resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/expressroutecircuits/{name}
PUT
Createorupdateexpressroutecircuits — Azure ExpressRoute REST API Create or update resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/expressroutecircuits/{name}
PATCH
Updateexpressroutecircuits — Azure ExpressRoute REST API Update resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/expressroutecircuits/{name}
DELETE
Deleteexpressroutecircuits — Azure ExpressRoute REST API Delete resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/expressroutecircuits/{name}

MCP Tools

azure-expressroute-rest-api-list

Azure ExpressRoute REST API List by subscription

read-only idempotent
azure-expressroute-rest-api-list-2

Azure ExpressRoute REST API List by resource group

read-only idempotent
azure-expressroute-rest-api-get

Azure ExpressRoute REST API Get resource

read-only idempotent
azure-expressroute-rest-api-create

Azure ExpressRoute REST API Create or update resource

idempotent
azure-expressroute-rest-api-update

Azure ExpressRoute REST API Update resource

idempotent
azure-expressroute-rest-api-delete

Azure ExpressRoute REST API Delete resource

idempotent

Capability Spec

microsoft-azure-express-route-expressroute-circuits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure ExpressRoute REST API — ExpressRoute Circuits
  description: 'Azure ExpressRoute REST API — ExpressRoute Circuits. 6 operations. Lead operation: Azure ExpressRoute REST
    API List by subscription. Self-contained Naftiko capability covering one Microsoft Azure Express Route business surface.'
  tags:
  - Microsoft Azure Express Route
  - ExpressRoute Circuits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_EXPRESS_ROUTE_API_KEY: MICROSOFT_AZURE_EXPRESS_ROUTE_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-azure-express-route-expressroute-circuits
    baseUri: https://management.azure.com
    description: Azure ExpressRoute REST API — ExpressRoute Circuits business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-providers-Microsoft.Network-expressRouteCircuits
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits
      operations:
      - name: listexpressroutecircuitsbysubscription
        method: GET
        description: Azure ExpressRoute REST API List by subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits
      operations:
      - name: listexpressroutecircuitsbyresourcegroup
        method: GET
        description: Azure ExpressRoute REST API List by resource group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{name}
      operations:
      - name: getexpressroutecircuits
        method: GET
        description: Azure ExpressRoute REST API Get resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createorupdateexpressroutecircuits
        method: PUT
        description: Azure ExpressRoute REST API Create or update resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updateexpressroutecircuits
        method: PATCH
        description: Azure ExpressRoute REST API Update resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteexpressroutecircuits
        method: DELETE
        description: Azure ExpressRoute REST API Delete resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_EXPRESS_ROUTE_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-azure-express-route-expressroute-circuits-rest
    port: 8080
    description: REST adapter for Azure ExpressRoute REST API — ExpressRoute Circuits. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-network/expressroutecircuits
      name: subscriptions-subscriptionid-providers-microsoft-network-expressroutecircuits
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Network-expressRouteCircuits.
      operations:
      - method: GET
        name: listexpressroutecircuitsbysubscription
        description: Azure ExpressRoute REST API List by subscription
        call: microsoft-azure-express-route-expressroute-circuits.listexpressroutecircuitsbysubscription
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/expressroutecircuits
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: listexpressroutecircuitsbyresourcegroup
        description: Azure ExpressRoute REST API List by resource group
        call: microsoft-azure-express-route-expressroute-circuits.listexpressroutecircuitsbyresourcegroup
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/expressroutecircuits/{name}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: getexpressroutecircuits
        description: Azure ExpressRoute REST API Get resource
        call: microsoft-azure-express-route-expressroute-circuits.getexpressroutecircuits
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: createorupdateexpressroutecircuits
        description: Azure ExpressRoute REST API Create or update resource
        call: microsoft-azure-express-route-expressroute-circuits.createorupdateexpressroutecircuits
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateexpressroutecircuits
        description: Azure ExpressRoute REST API Update resource
        call: microsoft-azure-express-route-expressroute-circuits.updateexpressroutecircuits
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteexpressroutecircuits
        description: Azure ExpressRoute REST API Delete resource
        call: microsoft-azure-express-route-expressroute-circuits.deleteexpressroutecircuits
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-azure-express-route-expressroute-circuits-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure ExpressRoute REST API — ExpressRoute Circuits. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: azure-expressroute-rest-api-list
      description: Azure ExpressRoute REST API List by subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-express-route-expressroute-circuits.listexpressroutecircuitsbysubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-expressroute-rest-api-list-2
      description: Azure ExpressRoute REST API List by resource group
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-express-route-expressroute-circuits.listexpressroutecircuitsbyresourcegroup
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-expressroute-rest-api-get
      description: Azure ExpressRoute REST API Get resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-express-route-expressroute-circuits.getexpressroutecircuits
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-expressroute-rest-api-create
      description: Azure ExpressRoute REST API Create or update resource
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-azure-express-route-expressroute-circuits.createorupdateexpressroutecircuits
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-expressroute-rest-api-update
      description: Azure ExpressRoute REST API Update resource
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-azure-express-route-expressroute-circuits.updateexpressroutecircuits
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-expressroute-rest-api-delete
      description: Azure ExpressRoute REST API Delete resource
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-azure-express-route-expressroute-circuits.deleteexpressroutecircuits
      outputParameters:
      - type: object
        mapping: $.