list_allocations
Lists all port allocations for a given Pterodactyl node, showing IP, port, alias, and assigned server. Use it to audit allocation usage; find the node ID with list_nodes first.
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 |
|---|---|---|---|
| page | No | Page number for pagination (default: 1) | |
| node_id | Yes | Node ID to list allocations for (from list_nodes) | |
| per_page | No | Items per page (default: 50, max: 100) |