List Files
list_filesLists files and directories on a MicroPython board's filesystem so you can inspect device storage and locate paths before reading, copying, or deleting files.
Instructions
List files and directories on the device filesystem.
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 | Directory path to list (default: root "/"). | / |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |