List files in the server folder
list_filesLists files and folders inside the Minecraft test server directory, such as world/datapacks, config or mods, at a chosen depth so you can inspect server contents.
Instructions
Lists files and folders inside the test server folder, for example world/datapacks, config or mods. Paths are relative to the server folder; nothing outside it can be listed.
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 | Folder inside the server folder. Default the server folder itself. | . |
| depth | No | How many levels deep. Default 1. |