Google Distributed Cloud · Capability

Google Distributed Cloud Edge Network API

The Distributed Cloud Edge Network API provides programmatic access to manage networking resources for Google Distributed Cloud connected deployments at the edge. It supports creating and managing networks, subnets, routers, and interconnect attachments for edge locations.

Run with Naftiko GoogleDistributedCloudAPI

What You Can Do

GET
Listzones — Google Distributed Cloud List zones
/projects/{projectId}/locations/{location}/zones
GET
Listnetworks — Google Distributed Cloud List networks
/projects/{projectId}/locations/{location}/zones/{zone}/networks
POST
Createnetwork — Google Distributed Cloud Create a network
/projects/{projectId}/locations/{location}/zones/{zone}/networks
GET
Listsubnets — Google Distributed Cloud List subnets
/projects/{projectId}/locations/{location}/zones/{zone}/subnets
POST
Createsubnet — Google Distributed Cloud Create a subnet
/projects/{projectId}/locations/{location}/zones/{zone}/subnets
GET
Listrouters — Google Distributed Cloud List routers
/projects/{projectId}/locations/{location}/zones/{zone}/routers
POST
Createrouter — Google Distributed Cloud Create a router
/projects/{projectId}/locations/{location}/zones/{zone}/routers

MCP Tools

listzones

Google Distributed Cloud List zones

read-only idempotent
listnetworks

Google Distributed Cloud List networks

read-only idempotent
createnetwork

Google Distributed Cloud Create a network

listsubnets

Google Distributed Cloud List subnets

read-only idempotent
createsubnet

Google Distributed Cloud Create a subnet

listrouters

Google Distributed Cloud List routers

read-only idempotent
createrouter

Google Distributed Cloud Create a router

Capability Spec

google-distributed-cloud-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Distributed Cloud Edge Network API
  description: The Distributed Cloud Edge Network API provides programmatic access to manage networking resources for Google
    Distributed Cloud connected deployments at the edge. It supports creating and managing networks, subnets, routers, and
    interconnect attachments for edge locations.
  tags:
  - Google
  - Distributed
  - Cloud
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: google-distributed-cloud
    baseUri: https://edgenetwork.googleapis.com/v1
    description: Google Distributed Cloud Edge Network API HTTP API.
    authentication:
      type: bearer
      token: '{{GOOGLE_DISTRIBUTED_CLOUD_TOKEN}}'
    resources:
    - name: projects-projectid-locations-location-zones
      path: /projects/{projectId}/locations/{location}/zones
      operations:
      - name: listzones
        method: GET
        description: Google Distributed Cloud List zones
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid-locations-location-zones-zone
      path: /projects/{projectId}/locations/{location}/zones/{zone}/networks
      operations:
      - name: listnetworks
        method: GET
        description: Google Distributed Cloud List networks
        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: pageSize
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createnetwork
        method: POST
        description: Google Distributed Cloud Create a network
        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: networkId
          in: query
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid-locations-location-zones-zone
      path: /projects/{projectId}/locations/{location}/zones/{zone}/subnets
      operations:
      - name: listsubnets
        method: GET
        description: Google Distributed Cloud List subnets
        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
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createsubnet
        method: POST
        description: Google Distributed Cloud Create a subnet
        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
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid-locations-location-zones-zone
      path: /projects/{projectId}/locations/{location}/zones/{zone}/routers
      operations:
      - name: listrouters
        method: GET
        description: Google Distributed Cloud List routers
        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
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createrouter
        method: POST
        description: Google Distributed Cloud Create a router
        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
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: google-distributed-cloud-rest
    description: REST adapter for Google Distributed Cloud Edge Network API.
    resources:
    - path: /projects/{projectId}/locations/{location}/zones
      name: listzones
      operations:
      - method: GET
        name: listzones
        description: Google Distributed Cloud List zones
        call: google-distributed-cloud.listzones
        with:
          projectId: rest.projectId
          location: rest.location
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/zones/{zone}/networks
      name: listnetworks
      operations:
      - method: GET
        name: listnetworks
        description: Google Distributed Cloud List networks
        call: google-distributed-cloud.listnetworks
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/zones/{zone}/networks
      name: createnetwork
      operations:
      - method: POST
        name: createnetwork
        description: Google Distributed Cloud Create a network
        call: google-distributed-cloud.createnetwork
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/zones/{zone}/subnets
      name: listsubnets
      operations:
      - method: GET
        name: listsubnets
        description: Google Distributed Cloud List subnets
        call: google-distributed-cloud.listsubnets
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/zones/{zone}/subnets
      name: createsubnet
      operations:
      - method: POST
        name: createsubnet
        description: Google Distributed Cloud Create a subnet
        call: google-distributed-cloud.createsubnet
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/zones/{zone}/routers
      name: listrouters
      operations:
      - method: GET
        name: listrouters
        description: Google Distributed Cloud List routers
        call: google-distributed-cloud.listrouters
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
        outputParameters:
        - type: object
          mapping: $.
    - path: /projects/{projectId}/locations/{location}/zones/{zone}/routers
      name: createrouter
      operations:
      - method: POST
        name: createrouter
        description: Google Distributed Cloud Create a router
        call: google-distributed-cloud.createrouter
        with:
          projectId: rest.projectId
          location: rest.location
          zone: rest.zone
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: google-distributed-cloud-mcp
    transport: http
    description: MCP adapter for Google Distributed Cloud Edge Network API for AI agent use.
    tools:
    - name: listzones
      description: Google Distributed Cloud List zones
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-distributed-cloud.listzones
      with:
        projectId: tools.projectId
        location: tools.location
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listnetworks
      description: Google Distributed Cloud List networks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-distributed-cloud.listnetworks
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: zone
        type: string
        description: zone
        required: true
      - name: pageSize
        type: integer
        description: pageSize
      - name: pageToken
        type: string
        description: pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: createnetwork
      description: Google Distributed Cloud Create a network
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-distributed-cloud.createnetwork
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
        networkId: tools.networkId
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: zone
        type: string
        description: zone
        required: true
      - name: networkId
        type: string
        description: networkId
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listsubnets
      description: Google Distributed Cloud List subnets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-distributed-cloud.listsubnets
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: zone
        type: string
        description: zone
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: createsubnet
      description: Google Distributed Cloud Create a subnet
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-distributed-cloud.createsubnet
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: zone
        type: string
        description: zone
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: listrouters
      description: Google Distributed Cloud List routers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: google-distributed-cloud.listrouters
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: zone
        type: string
        description: zone
        required: true
      outputParameters:
      - type: object
        mapping: $.
    - name: createrouter
      description: Google Distributed Cloud Create a router
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: google-distributed-cloud.createrouter
      with:
        projectId: tools.projectId
        location: tools.location
        zone: tools.zone
      inputParameters:
      - name: projectId
        type: string
        description: projectId
        required: true
      - name: location
        type: string
        description: location
        required: true
      - name: zone
        type: string
        description: zone
        required: true
      outputParameters:
      - type: object
        mapping: $.
binds:
- namespace: env
  keys:
    GOOGLE_DISTRIBUTED_CLOUD_TOKEN: GOOGLE_DISTRIBUTED_CLOUD_TOKEN