List local directory
list_directoryList files and directories at a specified path on the connected computer, with optional depth control to limit recursion.
Instructions
List files and directories on the connected computer through the Desktop Commander execution core.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or allowed local directory path | |
| depth | No |