List Pterodactyl network allocations
ptero_list_allocationsList a server's network allocations (IP:port pairs) and identify the default/primary allocation, so you can determine which port a service should use before verifying it in logs.
Instructions
List the network allocations (ip:port pairs) assigned to this server, and which one is the default/primary.
Use this to find out which port a particular service is meant to use — for example, which port Geyser/Bedrock should bind to — before checking whether it actually bound, which you confirm separately via the console log or logs/latest.log (ptero_read_file). A port being allocated here does not mean anything is actually listening on it.
This is read-only: adding, removing, or repointing allocations is not exposed by this server.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ptero_list_allocations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server short identifier (e.g. 1a2b3c4d). Omit to use PTERODACTYL_DEFAULT_SERVER. Call ptero_list_servers to discover valid identifiers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| server | Yes | ||
| allocations | Yes |