create_doc_page
Create a new page in a ClickUp Doc, optionally nest it under an existing page, and set initial content in markdown or HTML format.
Instructions
Create a new page inside a Doc (ClickUp Docs v3), optionally nested under an existing page and with initial content. Returns the created page with its id.
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 to add the page to. | |
| name | Yes | Title of the new page. | |
| content | No | Initial page body content. Format is set by `content_format`. | |
| content_format | No | Format of the `content` field: 'text/md' (default) or 'text/html'. | |
| parent_page_id | No | ID of an existing page to nest this new page under. | |
| sub_title | No | Optional subtitle shown under the page title. |