list_directory
List a folder: one "[DIR] name" or "[FILE] name" line per entry, depth-first. depth 2 (default) includes subfolder contents (first 100 each); depth 1 lists only the folder itself.
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_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ~ | |
| depth | No | ||
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |