tc_folder_tree
Render a compact text tree of a project's folder structure with configurable depth and entry limits for quick overview. Includes folder IDs and file details (size, modified date) for easy navigation.
Instructions
Render a compact text tree of the project's folder structure.
Recursively walks folders breadth-limited by max_depth and max_entries — ideal for a quick overview of a CDE structure before drilling in.
Args: project_id: Project ID. folder_id: Start folder (default: project root). max_depth: Levels to descend, 1-6 (default 3). max_entries: Hard cap on total lines to keep output small (default 400).
Returns: Markdown-ish text tree. Folders show their ID so you can call tc_list_folder / tc_folder_tree on a subtree; files show size and last modified date. A trailing note reports truncation, if any.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | ||
| max_depth | No | ||
| project_id | Yes | ||
| max_entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |