Get Server Console Output
pterodactyl_get_consoleRetrieves recent console output for a Pterodactyl server by opening a short-lived authenticated WebSocket connection, returning buffered logs unavailable through the REST API.
Instructions
Retrieve recent console output for a server via WebSocket.
Connects to the server's console WebSocket, authenticates, requests the console log history, and returns the buffered output. Because the panel does not expose console logs via the REST API this tool opens a short-lived WebSocket connection.
The server must be running.
Args:
server (string): Server identifier
lines (number): Maximum lines to return (default: 100)
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": "<server>"
},
"name": "pterodactyl_get_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Maximum console lines (1-1000, default 100) | |
| server | Yes | Server identifier (short ID) |