clickup_doc_pages
Retrieve pages and nested subpages from a ClickUp doc, ordered by tree position. Optionally include full markdown content for detailed access.
Instructions
List the pages inside a ClickUp doc, including any nested subpages. Returns an array of page objects (id, name, sub_title, parent_page_id, and optionally content). Pages are ordered by their tree position.
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": "clickup_doc_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | true = include each page's full markdown body in the 'content' field; false or omitted = return page metadata only (faster, smaller payload). | |
| doc_id | Yes | ID of the parent doc. Obtain from clickup_doc_list (field: id). | |
| team_id | No | Workspace (team) ID. Obtain from clickup_workspace_list (field: id). Omit to use the default workspace from config. |