Apache CloudStack · Capability

Apache CloudStack API — Zones

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

Run with Naftiko Apache CloudstackZones

What You Can Do

GET
Listzones — Apache CloudStack List Zones
/v1/zone/list

MCP Tools

apache-cloudstack-list-zones

Apache CloudStack List Zones

read-only idempotent

Capability Spec

apache-cloudstack-zones.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache CloudStack API — Zones
  description: 'Apache CloudStack API — Zones. 1 operations. Lead operation: Apache CloudStack List Zones. Self-contained
    Naftiko capability covering one Apache Cloudstack business surface.'
  tags:
  - Apache Cloudstack
  - Zones
  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-zones
    baseUri: http://localhost:8080/client/api
    description: Apache CloudStack API — Zones business capability. Self-contained, no shared references.
    resources:
    - name: zone-list
      path: /zone/list
      operations:
      - name: listzones
        method: GET
        description: Apache CloudStack List Zones
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: command
          in: query
          type: string
          required: true
        - name: available
          in: query
          type: boolean
          description: Filter to only zones available to the calling user.
        - 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-zones-rest
    port: 8080
    description: REST adapter for Apache CloudStack API — Zones. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/zone/list
      name: zone-list
      description: REST surface for zone-list.
      operations:
      - method: GET
        name: listzones
        description: Apache CloudStack List Zones
        call: apache-cloudstack-zones.listzones
        with:
          command: rest.command
          available: rest.available
          apikey: rest.apikey
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apache-cloudstack-zones-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache CloudStack API — Zones. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: apache-cloudstack-list-zones
      description: Apache CloudStack List Zones
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apache-cloudstack-zones.listzones
      with:
        command: tools.command
        available: tools.available
        apikey: tools.apikey
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.