coda_create_page
Create a new page in a Coda document. Supports optional title, subtitle, parent page, and initial content in HTML or markdown.
Instructions
Create a new page in a Coda doc.
Creates a page with optional initial content. Returns the new page's ID and metadata. The page is created at the top level unless parent_page_id is specified. Content can be HTML or markdown — specify the format via content_format. Pack formulas cannot be inserted via the API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | The doc ID to create the page in | |
| name | Yes | Name/title for the new page | |
| parent_page_id | No | Parent page ID to nest under (omit for top-level) | |
| subtitle | No | Subtitle text for the page | |
| content | No | Initial page content in HTML or markdown | |
| content_format | No | Format of the content parameter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |