list_allocations
Retrieve port allocations for a Pterodactyl node to view IP addresses, ports, aliases, and server assignments. Use after identifying the node ID with list_nodes.
Instructions
List all port allocations for a node (admin action). Shows IP, port, alias, and which server is using each allocation. Use list_nodes to find the node_id first. Requires Application API key.
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": {
"node_id": "<node_id>"
},
"name": "list_allocations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | Node ID to list allocations for (from list_nodes) | |
| page | No | Page number for pagination (default: 1) | |
| per_page | No | Items per page (default: 50, max: 100) |