create_page
Create a new page under a specified parent page, automatically converting a leaf parent into a folder. Optionally initialize page content from a template.
Instructions
Create a new page under a parent. If the parent is a leaf page, it is automatically promoted to a folder. Optionally initialise from a template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectiveId | Yes | ||
| parentPageId | Yes | Parent page id. To create at the root, pass the Landing page id. | |
| title | Yes | Page title; becomes the filename. | |
| body | No | Markdown body. Optional. | |
| emoji | No | Optional single emoji to set as the icon. | |
| templateId | No | Template page id to copy initial content from. |