Attach Volume
hetzner_attach_volumeAttach a Hetzner Cloud volume to a server in the same location, with optional auto-mounting after attachment.
Instructions
Attach a volume to a resource such as a server. The resource and volume must be in the same location.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "hetzner_attach_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Volume ID | |
| server | No | Deprecated alias for assignee {id: server, type: "server"}; do not combine with assignee | |
| assignee | No | Resource to attach the volume to; required unless the deprecated server is set | |
| automount | No | Auto-mount the volume after attaching |