dir_tree
Generate a nested directory tree for a path, with configurable max depth and hidden file inclusion.
Instructions
Returns a nested directory tree for the specified path
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": "dir_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional path within the root directories to list | |
| maxDepth | No | Maximum directory depth to traverse (default: 5) | |
| includeHidden | No | Whether to include hidden files and directories (default: false) |