Read Server File
pterodactyl_read_fileRead the contents of a file on a Pterodactyl server by specifying the server ID and full file path; use list_files first to check size for large files.
Instructions
Read the contents of a file on the server.
Note: For large files, use list_files to check the size first.
Args:
server (string): Server identifier
file (string): Full path to the file (e.g., '/server.properties')
response_format ('markdown' | 'json'): Output format (default: 'markdown')
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>",
"file": "<file>"
},
"name": "pterodactyl_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Full file path to read | |
| server | Yes | Server identifier (short ID like 'abc12345') | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |