set_primary_allocation
Set a network allocation as the primary/default address for a Pterodactyl-hosted server so agents and users can target the correct server endpoint.
Instructions
Set a network allocation as the primary/default server address.
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": {
"server_id": "<server_id>",
"allocation_id": "<allocation_id>"
},
"name": "set_primary_allocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | Short server identifier | |
| allocation_id | Yes | Numeric allocation ID |