create_primary_ip
Create a location-scoped primary IPv4 or IPv6 address, then assign it to a powered-off server by ID or leave it unassigned at a location.
Instructions
Create a Primary IP (location-scoped; server must be off to assign). Provide location OR assignee_id (server).
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>",
"type": "<type>"
},
"name": "create_primary_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| labels | No | ||
| location | No | Location name or ID, e.g. fsn1 (omit if assignee_id set) | |
| assignee_id | No | Server ID to assign to immediately (omit if location set) | |
| auto_delete | No |