Directory tree
directory_treeRender an ASCII tree of a directory structure to visualize nested folders and files, with options to set depth and limit entries for clarity.
Instructions
Render an ASCII tree of a directory (noise dirs hidden).
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 | ~ | |
| depth | No | ||
| max_entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |