get_doc_page_listing
Fetch the page tree of a ClickUp Doc to view page IDs, titles, and nesting hierarchy, enabling structured navigation before retrieving a page's full content.
Instructions
Get the page tree of a Doc (ClickUp Docs v3) — page ids, titles and their nesting hierarchy, without the full content. Use to navigate a Doc's structure before fetching a specific page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doc_id": "<doc_id>"
},
"name": "get_doc_page_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | No | Team/Workspace ID. Falls back to CLICKUP_TEAM_ID when omitted. | |
| doc_id | Yes | ID of the Doc whose page tree to fetch. | |
| max_page_depth | No | Limit how many levels of nested pages to return. Omit for all levels. |