create_page
Create a new page under a specified parent, promoting the parent to a folder if it is a leaf page. Optionally initialize 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 |
|---|---|---|---|
| body | No | Markdown body. Optional. | |
| emoji | No | Optional single emoji to set as the icon. | |
| title | Yes | Page title; becomes the filename. | |
| templateId | No | Template page id to copy initial content from. | |
| collectiveId | Yes | ||
| parentPageId | Yes | Parent page id. To create at the root, pass the Landing page id. |