tree
Display a visual tree of directory contents up to a specified depth, enabling quick exploration of file hierarchies.
Instructions
Show a tree of the directory structure up to a given depth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Root directory to display (default: current directory). | . |
| depth | No | How many levels deep to show (clamped to 0-5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |