Send Console Command
pterodactyl_send_console_commandSend a console command to a running Pterodactyl game server to execute game-specific actions, such as chat messages or player moderation, when direct console access is needed.
Instructions
Send a command to the server's console.
The server must be running. Commands vary by game/egg (e.g., 'say Hello', 'op username' for Minecraft).
Args:
server (string): Server identifier
command (string): Console command to execute
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>",
"command": "<command>"
},
"name": "pterodactyl_send_console_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server identifier (short ID like 'abc12345') | |
| command | Yes | Console command to send to the server |