Hetzner · Capability
Hetzner Cloud API — Volume Actions
Hetzner Cloud API — Volume Actions. 8 operations. Lead operation: List Actions. Self-contained Naftiko capability covering one Hetzner business surface.
What You Can Do
GET
Listvolumesactions
— List Actions
/v1/volumes/actions
GET
Getvolumesaction
— Get an Action
/v1/volumes/actions/{id}
GET
Listvolumeactions
— List Actions for a Volume
/v1/volumes/{id}/actions
POST
Attachvolume
— Attach Volume to a Server
/v1/volumes/{id}/actions/attach
POST
Changevolumeprotection
— Change Volume Protection
/v1/volumes/{id}/actions/change-protection
POST
Detachvolume
— Detach Volume
/v1/volumes/{id}/actions/detach
POST
Resizevolume
— Resize Volume
/v1/volumes/{id}/actions/resize
GET
Getvolumeaction
— Get an Action for a Volume
/v1/volumes/{id}/actions/{action-id}
MCP Tools
list-actions
List Actions
read-only
idempotent
get-action
Get an Action
read-only
idempotent
list-actions-volume
List Actions for a Volume
read-only
idempotent
attach-volume-server
Attach Volume to a Server
change-volume-protection
Change Volume Protection
detach-volume
Detach Volume
resize-volume
Resize Volume
get-action-volume
Get an Action for a Volume
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Hetzner Cloud API — Volume Actions
description: 'Hetzner Cloud API — Volume Actions. 8 operations. Lead operation: List Actions. Self-contained Naftiko capability
covering one Hetzner business surface.'
tags:
- Hetzner
- Volume Actions
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
HETZNER_API_KEY: HETZNER_API_KEY
capability:
consumes:
- type: http
namespace: hetzner-volume-actions
baseUri: https://api.hetzner.cloud/v1
description: Hetzner Cloud API — Volume Actions business capability. Self-contained, no shared references.
resources:
- name: volumes-actions
path: /volumes/actions
operations:
- name: listvolumesactions
method: GET
description: List Actions
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: query
type: array
description: Filter the actions by ID. May be used multiple times.
- name: sort
in: query
type: array
description: Sort actions by field and direction. May be used multiple times.
- name: status
in: query
type: array
description: Filter the actions by status. May be used multiple times.
- 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: volumes-actions-id
path: /volumes/actions/{id}
operations:
- name: getvolumesaction
method: GET
description: Get an Action
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Action.
required: true
- name: volumes-id-actions
path: /volumes/{id}/actions
operations:
- name: listvolumeactions
method: GET
description: List Actions for 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: sort
in: query
type: array
description: Sort actions by field and direction. May be used multiple times.
- name: status
in: query
type: array
description: Filter the actions by status. May be used multiple times.
- 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: volumes-id-actions-attach
path: /volumes/{id}/actions/attach
operations:
- name: attachvolume
method: POST
description: Attach Volume to a Server
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: volumes-id-actions-change_protection
path: /volumes/{id}/actions/change_protection
operations:
- name: changevolumeprotection
method: POST
description: Change Volume Protection
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: volumes-id-actions-detach
path: /volumes/{id}/actions/detach
operations:
- name: detachvolume
method: POST
description: Detach Volume
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Volume.
required: true
- name: volumes-id-actions-resize
path: /volumes/{id}/actions/resize
operations:
- name: resizevolume
method: POST
description: Resize 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: volumes-id-actions-action_id
path: /volumes/{id}/actions/{action_id}
operations:
- name: getvolumeaction
method: GET
description: Get an Action for 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: action_id
in: path
type: integer
description: ID of the Action.
required: true
authentication:
type: bearer
token: '{{env.HETZNER_API_KEY}}'
exposes:
- type: rest
namespace: hetzner-volume-actions-rest
port: 8080
description: REST adapter for Hetzner Cloud API — Volume Actions. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/volumes/actions
name: volumes-actions
description: REST surface for volumes-actions.
operations:
- method: GET
name: listvolumesactions
description: List Actions
call: hetzner-volume-actions.listvolumesactions
with:
id: rest.id
sort: rest.sort
status: rest.status
page: rest.page
per_page: rest.per_page
outputParameters:
- type: object
mapping: $.
- path: /v1/volumes/actions/{id}
name: volumes-actions-id
description: REST surface for volumes-actions-id.
operations:
- method: GET
name: getvolumesaction
description: Get an Action
call: hetzner-volume-actions.getvolumesaction
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/volumes/{id}/actions
name: volumes-id-actions
description: REST surface for volumes-id-actions.
operations:
- method: GET
name: listvolumeactions
description: List Actions for a Volume
call: hetzner-volume-actions.listvolumeactions
with:
id: rest.id
sort: rest.sort
status: rest.status
page: rest.page
per_page: rest.per_page
outputParameters:
- type: object
mapping: $.
- path: /v1/volumes/{id}/actions/attach
name: volumes-id-actions-attach
description: REST surface for volumes-id-actions-attach.
operations:
- method: POST
name: attachvolume
description: Attach Volume to a Server
call: hetzner-volume-actions.attachvolume
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/volumes/{id}/actions/change-protection
name: volumes-id-actions-change-protection
description: REST surface for volumes-id-actions-change_protection.
operations:
- method: POST
name: changevolumeprotection
description: Change Volume Protection
call: hetzner-volume-actions.changevolumeprotection
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/volumes/{id}/actions/detach
name: volumes-id-actions-detach
description: REST surface for volumes-id-actions-detach.
operations:
- method: POST
name: detachvolume
description: Detach Volume
call: hetzner-volume-actions.detachvolume
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/volumes/{id}/actions/resize
name: volumes-id-actions-resize
description: REST surface for volumes-id-actions-resize.
operations:
- method: POST
name: resizevolume
description: Resize Volume
call: hetzner-volume-actions.resizevolume
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/volumes/{id}/actions/{action-id}
name: volumes-id-actions-action-id
description: REST surface for volumes-id-actions-action_id.
operations:
- method: GET
name: getvolumeaction
description: Get an Action for a Volume
call: hetzner-volume-actions.getvolumeaction
with:
id: rest.id
action_id: rest.action_id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: hetzner-volume-actions-mcp
port: 9090
transport: http
description: MCP adapter for Hetzner Cloud API — Volume Actions. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: list-actions
description: List Actions
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-volume-actions.listvolumesactions
with:
id: tools.id
sort: tools.sort
status: tools.status
page: tools.page
per_page: tools.per_page
outputParameters:
- type: object
mapping: $.
- name: get-action
description: Get an Action
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-volume-actions.getvolumesaction
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: list-actions-volume
description: List Actions for a Volume
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-volume-actions.listvolumeactions
with:
id: tools.id
sort: tools.sort
status: tools.status
page: tools.page
per_page: tools.per_page
outputParameters:
- type: object
mapping: $.
- name: attach-volume-server
description: Attach Volume to a Server
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-volume-actions.attachvolume
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: change-volume-protection
description: Change Volume Protection
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-volume-actions.changevolumeprotection
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: detach-volume
description: Detach Volume
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-volume-actions.detachvolume
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: resize-volume
description: Resize Volume
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-volume-actions.resizevolume
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-action-volume
description: Get an Action for a Volume
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-volume-actions.getvolumeaction
with:
id: tools.id
action_id: tools.action_id
outputParameters:
- type: object
mapping: $.