clickup_get_workspace_hierarchy
Retrieves ClickUp workspace hierarchy—spaces, folders, and lists—with pagination and depth control. Use when you need the workspace structure; most tools resolve names automatically.
Instructions
Get workspace hierarchy (spaces, folders, lists) with pagination and depth control. Use only when you need the workspace structure — most tools resolve names automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of spaces to return per page (default: 10, max: 50) | |
| cursor | No | Pagination cursor from previous response. Use to fetch next page of spaces | |
| max_depth | No | Maximum depth of hierarchy to return: 0=spaces only, 1=spaces+folders, 2=spaces+folders+lists (default: 2) | |
| space_ids | No | Filter to return only specific spaces by ID. | |
| workspace_id | No | Workspace ID (digits only). Only needed when you have multiple workspaces. |