clickup_update_document_page
Update a ClickUp document page's name, subtitle, or content, choosing replace, append, or prepend to control how new content is applied.
Instructions
Update a page in a ClickUp document. Use content_edit_mode to control how content is applied: append/prepend merge with the existing page server-side and preserve it exactly — no need to read the page first. The default is 'replace', which overwrites the whole page. If appended content should start on its own line, include a leading newline; if prepended content should end on its own line, include a trailing newline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the page | |
| content | No | New content for the page (must be non-empty; clearing a page is not supported). By default this REPLACES the entire existing page content — set content_edit_mode to 'append' or 'prepend' to add to the page instead of overwriting it. | |
| page_id | Yes | ID of the page to update (e.g. 'ad-2675877'). In ClickUp doc URLs, this is the second ID after /docs/ or /v/dc/. | |
| sub_title | No | New subtitle for the page | |
| document_id | Yes | ID of the document containing the page (e.g. 'ad-909705'). In ClickUp doc URLs, 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. | |
| content_format | No | The format of the page content | text/md |
| content_edit_mode | No | How to apply `content`: 'append' adds it at the end of the existing page, 'prepend' inserts it before the existing content, 'replace' (default) OVERWRITES the entire page — existing content is lost. Ignored when `content` is not provided. | replace |