Show a compact project tree
list_treeRender a compact folder and file tree with box-drawing characters, skipping node_modules, .git and other service folders by default while limiting depth and entries for a clean overview.
Instructions
Renders a compact tree of folders and files with box-drawing characters. Much less noisy than a recursive list_directory. Skips node_modules, .git, .mcp and other service folders by default; limits depth and total entries.
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": "list_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder to render (defaults to root) | . |
| depth | No | How many levels to show | |
| ignore | No | Additional names/globs to skip | |
| show_files | No | Show files (false = folders only) | |
| max_entries | No | Maximum number of entries to print | |
| show_hidden | No | Show names starting with a dot | |
| include_sizes | No | Show file sizes |