Folder
list_filesLists files and folders in a Minecraft server directory with names, sizes, timestamps, and read/edit access, or lists config files when configs is true.
Instructions
A folder of the server: names, folders first, sizes, times, and whether read_file and edit_file accept each. Paths are relative to the server folder: config/paper-global.yml, logs/latest.log. Files under logs/ need logs:read, the rest files:read. WorldAPI's folder, hidden files, keys, databases, and jars stay hidden. configs true lists instead the server's and each plugin's config files (needs files:read).
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 |
|---|---|---|---|
| path | No | The server folder when left out | |
| configs | No |