list_tree
List directory tree under a specified path within a project root, with configurable depth and entry limits.
Instructions
List the directory structure under a path inside a project root. Free local I/O — prefer over deep_explore for any directory layout question.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to list, relative to a project root (default: the root itself). | |
| depth | No | Max directory depth to descend (default 2). | |
| project | No | Project path the user named in chat (armed via init). Pass it explicitly on every call. If no project has been named, ask the user; never guess. | |
| max_entries | No | Max entries before truncating (default 500). | |
| session_token | No | Session token returned by init (or create_project). Required for every project tool call in this chat. A new chat must be re-armed. | |
| include_hidden | No | Include dotfiles (default false). |