clickup_list_document_pages
List a ClickUp document's page names and hierarchy without content, so you can map structure and use page IDs to fetch full page content separately.
Instructions
List page names and structure of a document (no content). Use get_document_pages to fetch full page content by page ID.
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": {
"document_id": "<document_id>"
},
"name": "clickup_list_document_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ID of the document (e.g. 'ad-909705'). In ClickUp doc URLs the path is either /{workspace_id}/docs/{document_id} or /{workspace_id}/v/dc/{document_id}. The document_id is always the first ID after /docs/ or /v/dc/. | |
| workspace_id | No | Workspace ID (digits only). Only needed when you have multiple workspaces. | |
| max_page_depth | No | Maximum depth of pages to retrieve (-1 for unlimited) |