directory_tree
Get a tree view of a project directory to understand its structure and locate files during collaborative development.
Instructions
Get a tree view of the project directory structure.
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": "directory_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Root path | |
| exclude | No | Patterns to exclude | |
| max_depth | No | Maximum depth (default: 3) |