Apache CloudStack · Capability

Apache CloudStack API — Networks

Apache CloudStack API — Networks. 1 operations. Lead operation: Apache CloudStack List Networks. Self-contained Naftiko capability covering one Apache Cloudstack business surface.

Run with Naftiko Apache CloudstackNetworks

What You Can Do

GET
Listnetworks — Apache CloudStack List Networks
/v1/network/list

MCP Tools

apache-cloudstack-list-networks

Apache CloudStack List Networks

read-only idempotent

Capability Spec

apache-cloudstack-networks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache CloudStack API — Networks
  description: 'Apache CloudStack API — Networks. 1 operations. Lead operation: Apache CloudStack List Networks. Self-contained
    Naftiko capability covering one Apache Cloudstack business surface.'
  tags:
  - Apache Cloudstack
  - Networks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_CLOUDSTACK_API_KEY: APACHE_CLOUDSTACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: apache-cloudstack-networks
    baseUri: http://localhost:8080/client/api
    description: Apache CloudStack API — Networks business capability. Self-contained, no shared references.
    resources:
    - name: network-list
      path: /network/list
      operations:
      - name: listnetworks
        method: GET
        description: Apache CloudStack List Networks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: command
          in: query
          type: string
          required: true
        - name: zoneid
          in: query
          type: string
          description: Filter networks by zone UUID.
        - name: apikey
          in: query
          type: string
          required: true
        - name: signature
          in: query
          type: string
          required: true
    authentication:
      type: apikey
      key: apikey
      value: '{{env.APACHE_CLOUDSTACK_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: apache-cloudstack-networks-rest
    port: 8080
    description: REST adapter for Apache CloudStack API — Networks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/network/list
      name: network-list
      description: REST surface for network-list.
      operations:
      - method: GET
        name: listnetworks
        description: Apache CloudStack List Networks
        call: apache-cloudstack-networks.listnetworks
        with:
          command: rest.command
          zoneid: rest.zoneid
          apikey: rest.apikey
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apache-cloudstack-networks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache CloudStack API — Networks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-cloudstack-list-networks
      description: Apache CloudStack List Networks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apache-cloudstack-networks.listnetworks
      with:
        command: tools.command
        zoneid: tools.zoneid
        apikey: tools.apikey
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.