list_directory
Explore directory structure: see files, subdirectories, sizes, and modification dates, with configurable depth limits and glob filters.
Instructions
List directory structure, files, subdirectories, sizes, and modification dates with optional depth limit and glob filter.
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 | ||
| recursive | No | ||
| depth_limit | No | ||
| glob_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||