List temporary Lua files
lua_file_listLists every file under the game's lua/mcpagent_tmp/ folder, including subfolders, and returns the absolute directory plus sorted relative paths; optionally relays the call to another instance.
Instructions
Lists every file under the game's lua/mcpagent_tmp/ folder, subfolders included. Result: {dir (absolute), files: [paths relative to dir, sorted]}.
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": "lua_file_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | Optional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | ||
| next | No | ||
| note | No | ||
| files | Yes | ||
| warning | No | ||
| next_call | No | ||
| answered_by | No | ||
| truncated_note | No | ||
| version_warning | No |