Create Primary IP
hetzner_create_primary_ipCreate a new primary IP (IPv4 or IPv6) in a chosen location, optionally assign it to a server, and set auto-deletion to manage lifecycle.
Instructions
Create a new primary IP with the specified type, optional location, and optional assignee type.
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": "<name>"
},
"name": "hetzner_create_primary_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the primary IP | |
| type | Yes | IP type | |
| labels | No | Labels as key-value pairs | |
| location | No | Location name (e.g. "fsn1", "nbg1", "hel1") | |
| assignee_id | No | Server ID to assign the primary IP to (create-and-assign in one call) | |
| auto_delete | No | Delete the primary IP when the assignee is deleted | |
| assignee_type | No | Assignee type. Optional since 2026-04-27; defaults to "server" until 2026-08-01, then to "unassigned". |