Hetzner · Capability
Hetzner Cloud API — Image Actions
Hetzner Cloud API — Image Actions. 5 operations. Lead operation: List Actions. Self-contained Naftiko capability covering one Hetzner business surface.
What You Can Do
GET
Listimagesactions
— List Actions
/v1/images/actions
GET
Getimagesaction
— Get an Action
/v1/images/actions/{id}
GET
Listimageactions
— List Actions for an Image
/v1/images/{id}/actions
POST
Changeimageprotection
— Change Image Protection
/v1/images/{id}/actions/change-protection
GET
Getimageaction
— Get an Action for an Image
/v1/images/{id}/actions/{action-id}
MCP Tools
list-actions
List Actions
read-only
idempotent
get-action
Get an Action
read-only
idempotent
list-actions-image
List Actions for an Image
read-only
idempotent
change-image-protection
Change Image Protection
get-action-image
Get an Action for an Image
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Hetzner Cloud API — Image Actions
description: 'Hetzner Cloud API — Image Actions. 5 operations. Lead operation: List Actions. Self-contained Naftiko capability
covering one Hetzner business surface.'
tags:
- Hetzner
- Image 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-image-actions
baseUri: https://api.hetzner.cloud/v1
description: Hetzner Cloud API — Image Actions business capability. Self-contained, no shared references.
resources:
- name: images-actions
path: /images/actions
operations:
- name: listimagesactions
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: images-actions-id
path: /images/actions/{id}
operations:
- name: getimagesaction
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: images-id-actions
path: /images/{id}/actions
operations:
- name: listimageactions
method: GET
description: List Actions for an Image
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Image.
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: images-id-actions-change_protection
path: /images/{id}/actions/change_protection
operations:
- name: changeimageprotection
method: POST
description: Change Image Protection
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Image.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: images-id-actions-action_id
path: /images/{id}/actions/{action_id}
operations:
- name: getimageaction
method: GET
description: Get an Action for an Image
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Image.
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-image-actions-rest
port: 8080
description: REST adapter for Hetzner Cloud API — Image Actions. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/images/actions
name: images-actions
description: REST surface for images-actions.
operations:
- method: GET
name: listimagesactions
description: List Actions
call: hetzner-image-actions.listimagesactions
with:
id: rest.id
sort: rest.sort
status: rest.status
page: rest.page
per_page: rest.per_page
outputParameters:
- type: object
mapping: $.
- path: /v1/images/actions/{id}
name: images-actions-id
description: REST surface for images-actions-id.
operations:
- method: GET
name: getimagesaction
description: Get an Action
call: hetzner-image-actions.getimagesaction
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/images/{id}/actions
name: images-id-actions
description: REST surface for images-id-actions.
operations:
- method: GET
name: listimageactions
description: List Actions for an Image
call: hetzner-image-actions.listimageactions
with:
id: rest.id
sort: rest.sort
status: rest.status
page: rest.page
per_page: rest.per_page
outputParameters:
- type: object
mapping: $.
- path: /v1/images/{id}/actions/change-protection
name: images-id-actions-change-protection
description: REST surface for images-id-actions-change_protection.
operations:
- method: POST
name: changeimageprotection
description: Change Image Protection
call: hetzner-image-actions.changeimageprotection
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/images/{id}/actions/{action-id}
name: images-id-actions-action-id
description: REST surface for images-id-actions-action_id.
operations:
- method: GET
name: getimageaction
description: Get an Action for an Image
call: hetzner-image-actions.getimageaction
with:
id: rest.id
action_id: rest.action_id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: hetzner-image-actions-mcp
port: 9090
transport: http
description: MCP adapter for Hetzner Cloud API — Image 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-image-actions.listimagesactions
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-image-actions.getimagesaction
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: list-actions-image
description: List Actions for an Image
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-image-actions.listimageactions
with:
id: tools.id
sort: tools.sort
status: tools.status
page: tools.page
per_page: tools.per_page
outputParameters:
- type: object
mapping: $.
- name: change-image-protection
description: Change Image Protection
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-image-actions.changeimageprotection
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-action-image
description: Get an Action for an Image
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-image-actions.getimageaction
with:
id: tools.id
action_id: tools.action_id
outputParameters:
- type: object
mapping: $.