create_volume
Create a Hetzner Cloud volume with a chosen size, then attach it to a server or place it in a specific location. Set format and labels to provision storage for your infrastructure.
Instructions
Create a new volume (size in GB, min 10). Give location, or server to create it in the server's location and attach it right away. In responses, read assignee ({type, id}); the old server field goes away on 2027-10-27
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": "create_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| size | Yes | Size in GB (min 10) | |
| format | No | ||
| labels | No | ||
| server | No | Server ID to attach to on creation (omit if location set) | |
| location | No | Location name, e.g. fsn1 (omit if server set) | |
| automount | No | Only with server: mount automatically |