Create Page
create_pageCreates a new page in a Docmost space, optionally with Markdown/HTML content, a title, and a parent page for nesting.
Instructions
Creates a new page in a space, with or without content.
If you provide content, the page is uploaded through the import endpoint
(/pages/import), which is the only REST way that persists the page body
in Docmost. The title is taken from the first heading; if you also provide
title, that one is used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title of the page (optional). | |
| format | No | Format of `content`: 'markdown' or 'html'. | markdown |
| content | No | Page content in Markdown (recommended). | |
| space_id | Yes | UUID of the destination space. | |
| parent_page_id | No | ID of the parent page to nest it under (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||