List files
list_filesLists files and folders in a server directory, including sizes and modification times, so you can inspect and manage hosted Minecraft server contents.
Instructions
Lists the files and folders in a directory of the server, with sizes and modification times.
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": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. | |
| directory | No | Directory to list, relative to the server root, such as "plugins". Defaults to "/". | / |