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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"space_id": "<space_id>"
},
"name": "create_page"
}
}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 | |||