Create a volume
cloud_create_volumeCreate a Hetzner Cloud volume of a specified size, with optional server attachment or location placement. Requires confirm=true as it is billed.
Instructions
Create a Hetzner Cloud volume. Billed. Requires confirm true. Attach to a server or place in a 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": {
"name": "<name>",
"size": "<size>"
},
"name": "cloud_create_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Volume name. | |
| size | Yes | Size in GB (minimum 10). | |
| format | No | Filesystem to format with, for example ext4 or xfs. | |
| server | No | Server id to create and attach the volume to. | |
| confirm | No | Must be true. Creating a volume costs money. | |
| location | No | For example nbg1, fsn1, hel1. Use this or server. | |
| automount | No | Automount on the attached server. |