file_tree
Visualize folder hierarchy by generating directory tree structures with configurable depth to understand project organization.
Instructions
Generate directory tree structure. Visualize folder hierarchy (default depth: 3).
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": "file_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Root directory | |
| depth | No | Max depth (default: 3) |