dir_tree
Create a visual directory tree with adjustable depth and ignore patterns to map folder structures and locate files.
Instructions
Generate a visual directory tree structure (like the tree command). Shows files and folders with configurable depth and ignore patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir_path | Yes | Absolute path to the directory | |
| max_depth | No | Maximum depth to traverse (default: 5, 0 = unlimited) | |
| ignore_patterns | No | Patterns to ignore (default: node_modules, .git, dist, __pycache__, .next, .cache, coverage) |