Create Floating IP
hetzner_create_floating_ipCreate a floating IP in Hetzner Cloud by specifying type (IPv4/IPv6) and either a server ID or home location for assignment.
Instructions
Create a new floating IP. Either home_location or server must be provided.
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": {
"type": "<type>"
},
"name": "hetzner_create_floating_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the floating IP | |
| type | Yes | IP type | |
| labels | No | Labels as key-value pairs | |
| server | No | Server ID to assign the floating IP to. Required if home_location is not set | |
| description | No | Description of the floating IP | |
| home_location | No | Home location name (e.g. "fsn1"). Required if server is not set |