coda_create_page
Create a new page in a Coda document. Provide a title, optional content in HTML or markdown, and optionally nest it under a parent page.
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 |
|---|---|---|---|
| name | Yes | Name/title for the new page | |
| doc_id | Yes | The doc ID to create the page in | |
| content | No | Initial page content in HTML or markdown | |
| subtitle | No | Subtitle text for the page | |
| content_format | No | Format of the content parameter | |
| parent_page_id | No | Parent page ID to nest under (omit for top-level) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |