naftiko: 1.0.0-alpha2 info: label: Hetzner Cloud API — Volumes description: 'Hetzner Cloud API — Volumes. 5 operations. Lead operation: List Volumes. Self-contained Naftiko capability covering one Hetzner business surface.' tags: - Hetzner - Volumes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HETZNER_API_KEY: HETZNER_API_KEY capability: consumes: - type: http namespace: hetzner-volumes baseUri: https://api.hetzner.cloud/v1 description: Hetzner Cloud API — Volumes business capability. Self-contained, no shared references. resources: - name: volumes path: /volumes operations: - name: listvolumes method: GET description: List Volumes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: array description: Filter resources by status. May be used multiple times. - name: sort in: query type: array description: Sort resources by field and direction. May be used multiple times. - name: name in: query type: string description: Filter resources by their name. - name: label_selector in: query type: string description: Filter resources by labels. - name: page in: query type: integer description: Page number to return. For more information, see "[Pagination](#description/pagination)". - name: per_page in: query type: integer description: Maximum number of entries returned per page. For more information, see "[Pagination](#description/pagination)". - name: createvolume method: POST description: Create a Volume outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: volumes-id path: /volumes/{id} operations: - name: getvolume method: GET description: Get a Volume outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the Volume. required: true - name: updatevolume method: PUT description: Update a Volume outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the Volume. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletevolume method: DELETE description: Delete a Volume outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: ID of the Volume. required: true authentication: type: bearer token: '{{env.HETZNER_API_KEY}}' exposes: - type: rest namespace: hetzner-volumes-rest port: 8080 description: REST adapter for Hetzner Cloud API — Volumes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/volumes name: volumes description: REST surface for volumes. operations: - method: GET name: listvolumes description: List Volumes call: hetzner-volumes.listvolumes with: status: rest.status sort: rest.sort name: rest.name label_selector: rest.label_selector page: rest.page per_page: rest.per_page outputParameters: - type: object mapping: $. - method: POST name: createvolume description: Create a Volume call: hetzner-volumes.createvolume with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/volumes/{id} name: volumes-id description: REST surface for volumes-id. operations: - method: GET name: getvolume description: Get a Volume call: hetzner-volumes.getvolume with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updatevolume description: Update a Volume call: hetzner-volumes.updatevolume with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletevolume description: Delete a Volume call: hetzner-volumes.deletevolume with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: hetzner-volumes-mcp port: 9090 transport: http description: MCP adapter for Hetzner Cloud API — Volumes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-volumes description: List Volumes hints: readOnly: true destructive: false idempotent: true call: hetzner-volumes.listvolumes with: status: tools.status sort: tools.sort name: tools.name label_selector: tools.label_selector page: tools.page per_page: tools.per_page outputParameters: - type: object mapping: $. - name: create-volume description: Create a Volume hints: readOnly: false destructive: false idempotent: false call: hetzner-volumes.createvolume with: body: tools.body outputParameters: - type: object mapping: $. - name: get-volume description: Get a Volume hints: readOnly: true destructive: false idempotent: true call: hetzner-volumes.getvolume with: id: tools.id outputParameters: - type: object mapping: $. - name: update-volume description: Update a Volume hints: readOnly: false destructive: false idempotent: true call: hetzner-volumes.updatevolume with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-volume description: Delete a Volume hints: readOnly: false destructive: true idempotent: true call: hetzner-volumes.deletevolume with: id: tools.id outputParameters: - type: object mapping: $.