File Tree
treeList files and directories in a workspace directory to explore its structure, with configurable depth, entry limits, and hidden-file inclusion while excluding blocked paths.
Instructions
List files and directories inside the workspace, excluding blocked paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory relative to workspace root. Default: . | |
| max_depth | No | Maximum depth. Default: 4. | |
| max_entries | No | Maximum entries. Default: 800. | |
| workspace_id | No | Optional workspace id. When omitted, CodexPro binds the authoritative conversation workspace automatically; an explicit unknown or mismatched id is rejected. | |
| include_hidden | No | Include dotfiles/dotfolders that are not blocked. Default: false. | |
| conversation_id | No | Connector conversation id bound to this workspace. Modern MCP injects it automatically; side-effecting tools require it to match the authoritative binding. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_result | Yes |