Apache CloudStack · Capability

Apache CloudStack API — Volumes

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

Run with Naftiko Apache CloudstackVolumes

What You Can Do

GET
Listvolumes — Apache CloudStack List Volumes
/v1/volume/list

MCP Tools

apache-cloudstack-list-volumes

Apache CloudStack List Volumes

read-only idempotent

Capability Spec

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