tree
Visualize directory layout with configurable depth. Get an instant overview of project organization to know where to search before starting.
Instructions
USE INSTEAD OF LS/FIND FOR STRUCTURE. Visualize directory layout without multiple commands.
Get instant overview of project organization. Configurable depth prevents overwhelming output in deep repos.
Use this first when exploring a new codebase - shows you where to look before you start searching.
Perfect for: "Show me the project structure", "What's in repos/jenkins/", "How is src/ organized?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reasoning | Yes | Explain why you need to see the directory structure | |
| path | No | Directory to show. Defaults to current working directory | |
| depth | No | Maximum depth to traverse. Default: 3 | |
| include_hidden | No | Include hidden files and directories (dotfiles). Default: false | |
| dirs_only | No | Only show directories, not files. Default: false |