Hetzner · Capability
Hetzner Cloud API — Network Actions
Hetzner Cloud API — Network Actions. 10 operations. Lead operation: List Actions. Self-contained Naftiko capability covering one Hetzner business surface.
What You Can Do
GET
Listnetworksactions
— List Actions
/v1/networks/actions
GET
Getnetworksaction
— Get an Action
/v1/networks/actions/{id}
GET
Listnetworkactions
— List Actions for a Network
/v1/networks/{id}/actions
POST
Addnetworkroute
— Add a route to a Network
/v1/networks/{id}/actions/add-route
POST
Addnetworksubnet
— Add a subnet to a Network
/v1/networks/{id}/actions/add-subnet
POST
Changenetworkiprange
— Change IP range of a Network
/v1/networks/{id}/actions/change-ip-range
POST
Changenetworkprotection
— Change Network Protection
/v1/networks/{id}/actions/change-protection
POST
Deletenetworkroute
— Delete a route from a Network
/v1/networks/{id}/actions/delete-route
POST
Deletenetworksubnet
— Delete a subnet from a Network
/v1/networks/{id}/actions/delete-subnet
GET
Getnetworkaction
— Get an Action for a Network
/v1/networks/{id}/actions/{action-id}
MCP Tools
list-actions
List Actions
read-only
idempotent
get-action
Get an Action
read-only
idempotent
list-actions-network
List Actions for a Network
read-only
idempotent
add-route-network
Add a route to a Network
add-subnet-network
Add a subnet to a Network
change-ip-range-network
Change IP range of a Network
change-network-protection
Change Network Protection
delete-route-network
Delete a route from a Network
delete-subnet-network
Delete a subnet from a Network
get-action-network
Get an Action for a Network
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Hetzner Cloud API — Network Actions
description: 'Hetzner Cloud API — Network Actions. 10 operations. Lead operation: List Actions. Self-contained Naftiko capability
covering one Hetzner business surface.'
tags:
- Hetzner
- Network 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-network-actions
baseUri: https://api.hetzner.cloud/v1
description: Hetzner Cloud API — Network Actions business capability. Self-contained, no shared references.
resources:
- name: networks-actions
path: /networks/actions
operations:
- name: listnetworksactions
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: networks-actions-id
path: /networks/actions/{id}
operations:
- name: getnetworksaction
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: networks-id-actions
path: /networks/{id}/actions
operations:
- name: listnetworkactions
method: GET
description: List Actions for a Network
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
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: networks-id-actions-add_route
path: /networks/{id}/actions/add_route
operations:
- name: addnetworkroute
method: POST
description: Add a route to a Network
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: networks-id-actions-add_subnet
path: /networks/{id}/actions/add_subnet
operations:
- name: addnetworksubnet
method: POST
description: Add a subnet to a Network
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: networks-id-actions-change_ip_range
path: /networks/{id}/actions/change_ip_range
operations:
- name: changenetworkiprange
method: POST
description: Change IP range of a Network
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: networks-id-actions-change_protection
path: /networks/{id}/actions/change_protection
operations:
- name: changenetworkprotection
method: POST
description: Change Network Protection
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: networks-id-actions-delete_route
path: /networks/{id}/actions/delete_route
operations:
- name: deletenetworkroute
method: POST
description: Delete a route from a Network
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: networks-id-actions-delete_subnet
path: /networks/{id}/actions/delete_subnet
operations:
- name: deletenetworksubnet
method: POST
description: Delete a subnet from a Network
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: networks-id-actions-action_id
path: /networks/{id}/actions/{action_id}
operations:
- name: getnetworkaction
method: GET
description: Get an Action for a Network
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: ID of the Network.
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-network-actions-rest
port: 8080
description: REST adapter for Hetzner Cloud API — Network Actions. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/networks/actions
name: networks-actions
description: REST surface for networks-actions.
operations:
- method: GET
name: listnetworksactions
description: List Actions
call: hetzner-network-actions.listnetworksactions
with:
id: rest.id
sort: rest.sort
status: rest.status
page: rest.page
per_page: rest.per_page
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/actions/{id}
name: networks-actions-id
description: REST surface for networks-actions-id.
operations:
- method: GET
name: getnetworksaction
description: Get an Action
call: hetzner-network-actions.getnetworksaction
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions
name: networks-id-actions
description: REST surface for networks-id-actions.
operations:
- method: GET
name: listnetworkactions
description: List Actions for a Network
call: hetzner-network-actions.listnetworkactions
with:
id: rest.id
sort: rest.sort
status: rest.status
page: rest.page
per_page: rest.per_page
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions/add-route
name: networks-id-actions-add-route
description: REST surface for networks-id-actions-add_route.
operations:
- method: POST
name: addnetworkroute
description: Add a route to a Network
call: hetzner-network-actions.addnetworkroute
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions/add-subnet
name: networks-id-actions-add-subnet
description: REST surface for networks-id-actions-add_subnet.
operations:
- method: POST
name: addnetworksubnet
description: Add a subnet to a Network
call: hetzner-network-actions.addnetworksubnet
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions/change-ip-range
name: networks-id-actions-change-ip-range
description: REST surface for networks-id-actions-change_ip_range.
operations:
- method: POST
name: changenetworkiprange
description: Change IP range of a Network
call: hetzner-network-actions.changenetworkiprange
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions/change-protection
name: networks-id-actions-change-protection
description: REST surface for networks-id-actions-change_protection.
operations:
- method: POST
name: changenetworkprotection
description: Change Network Protection
call: hetzner-network-actions.changenetworkprotection
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions/delete-route
name: networks-id-actions-delete-route
description: REST surface for networks-id-actions-delete_route.
operations:
- method: POST
name: deletenetworkroute
description: Delete a route from a Network
call: hetzner-network-actions.deletenetworkroute
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions/delete-subnet
name: networks-id-actions-delete-subnet
description: REST surface for networks-id-actions-delete_subnet.
operations:
- method: POST
name: deletenetworksubnet
description: Delete a subnet from a Network
call: hetzner-network-actions.deletenetworksubnet
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/networks/{id}/actions/{action-id}
name: networks-id-actions-action-id
description: REST surface for networks-id-actions-action_id.
operations:
- method: GET
name: getnetworkaction
description: Get an Action for a Network
call: hetzner-network-actions.getnetworkaction
with:
id: rest.id
action_id: rest.action_id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: hetzner-network-actions-mcp
port: 9090
transport: http
description: MCP adapter for Hetzner Cloud API — Network 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-network-actions.listnetworksactions
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-network-actions.getnetworksaction
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: list-actions-network
description: List Actions for a Network
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-network-actions.listnetworkactions
with:
id: tools.id
sort: tools.sort
status: tools.status
page: tools.page
per_page: tools.per_page
outputParameters:
- type: object
mapping: $.
- name: add-route-network
description: Add a route to a Network
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-network-actions.addnetworkroute
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: add-subnet-network
description: Add a subnet to a Network
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-network-actions.addnetworksubnet
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: change-ip-range-network
description: Change IP range of a Network
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-network-actions.changenetworkiprange
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: change-network-protection
description: Change Network Protection
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-network-actions.changenetworkprotection
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: delete-route-network
description: Delete a route from a Network
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-network-actions.deletenetworkroute
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: delete-subnet-network
description: Delete a subnet from a Network
hints:
readOnly: false
destructive: false
idempotent: false
call: hetzner-network-actions.deletenetworksubnet
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: get-action-network
description: Get an Action for a Network
hints:
readOnly: true
destructive: false
idempotent: true
call: hetzner-network-actions.getnetworkaction
with:
id: tools.id
action_id: tools.action_id
outputParameters:
- type: object
mapping: $.