list_directory
List directory contents with details, including recursive listing and max depth. Works for any drive, solving file visibility needs.
Instructions
List contents of a directory with detailed information.
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 | Directory path to list. Supports all drives. Example: D:\ or C:\Users | |
| max_depth | No | Maximum depth for recursive listing (default: 2) | |
| recursive | No | Whether to list recursively (default: false) |