get_workspace_hierarchy
Explore ClickUp space folder and list hierarchy to find list IDs for creating tasks or browsing backlogs.
Instructions
Browse the workspace folder/list hierarchy.
Returns folders and lists in the given space. Use this to discover list IDs for creating tasks or browsing backlogs.
Args: space_id: Space to browse. Defaults to the configured DEVELOPMENT_SPACE_ID. max_depth: How deep to recurse (1=folders only, 2=folders+lists, 3=+sublists).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_workspace_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | No | ||
| max_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |