List Server Files
pterodactyl_list_filesList files and directories on a Pterodactyl server to inspect content or navigate paths. Specify server ID and optional directory; choose markdown or JSON output.
Instructions
List files and directories in a given directory on the server.
Args:
server (string): Server identifier
directory (string): Directory path (default: '/')
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>"
},
"name": "pterodactyl_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server identifier (short ID like 'abc12345') | |
| directory | No | Directory path to list (default: root '/') | / |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |