Google Distributed Cloud · Capability

Google Distributed Cloud Edge Network API — Routers

Google Distributed Cloud Edge Network API — Routers. 2 operations. Lead operation: Google Distributed Cloud List routers. Self-contained Naftiko capability covering one Google Distributed Cloud business surface.

Run with Naftiko Google Distributed CloudRouters

What You Can Do

GET
Listrouters — Google Distributed Cloud List routers
/v1/projects/{projectid}/locations/{location}/zones/{zone}/routers
POST
Createrouter — Google Distributed Cloud Create a router
/v1/projects/{projectid}/locations/{location}/zones/{zone}/routers

MCP Tools

google-distributed-cloud-list-routers

Google Distributed Cloud List routers

read-only idempotent
google-distributed-cloud-create-router

Google Distributed Cloud Create a router

Capability Spec

distributed-cloud-edge-network-routers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Distributed Cloud Edge Network API — Routers
  description: 'Google Distributed Cloud Edge Network API — Routers. 2 operations. Lead operation: Google Distributed Cloud
    List routers. Self-contained Naftiko capability covering one Google Distributed Cloud business surface.'
  tags:
  - Google Distributed Cloud
  - Routers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_DISTRIBUTED_CLOUD_API_KEY: GOOGLE_DISTRIBUTED_CLOUD_API_KEY
capability:
  consumes:
  - type: http
    namespace: distributed-cloud-edge-network-routers
    baseUri: https://edgenetwork.googleapis.com/v1
    description: Google Distributed Cloud Edge Network API — Routers business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-locations-location-zones-zone-routers
      path: /projects/{projectId}/locations/{location}/zones/{zone}/routers
      operations:
      - name: listrouters
        method: GET
        description: Google Distributed Cloud List routers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: zone
          in: path
          type: string
          required: true
      - name: createrouter
        method: POST
        description: Google Distributed Cloud Create a router
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: zone
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_DISTRIBUTED_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: distributed-cloud-edge-network-routers-rest
    port: 8080
    description: REST adapter for Google Distributed Cloud Edge Network API — Routers. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}/locations/{location}/zones/{zone}/routers
      name: projects-projectid-locations-location-zones-zone-routers
      description: REST surface for projects-projectId-locations-location-zones-zone-routers.
      operations:
      - method: GET
        name: listrouters
        description: Google Distributed Cloud List routers
        call: distributed-cloud-edge-network-routers.listrouters
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createrouter
        description: Google Distributed Cloud Create a router
        call: distributed-cloud-edge-network-routers.createrouter
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: distributed-cloud-edge-network-routers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Distributed Cloud Edge Network API — Routers. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: google-distributed-cloud-list-routers
      description: Google Distributed Cloud List routers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: distributed-cloud-edge-network-routers.listrouters
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
      outputParameters:
      - type: object
        mapping: $.
    - name: google-distributed-cloud-create-router
      description: Google Distributed Cloud Create a router
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: distributed-cloud-edge-network-routers.createrouter
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.