Create a Docmost page
create_pageCreates a Markdown page at a space root or under a parent page and returns its ID and URL; duplicate titles are allowed, so existing pages remain unchanged.
Instructions
Creates a page from Markdown at the root of a space or under a parent page, and returns its id and URL; titles need not be unique, so an existing page with the same title is left alone.
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": {
"title": "<title>",
"markdown": "<markdown>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Optional emoji shown next to the title. | |
| title | Yes | Page title. | |
| spaceId | No | Space id from get_workspace; optional when parentPageId is given. | |
| markdown | Yes | Page body in Markdown; do not repeat the title as a leading # heading. | |
| parentPageId | No | Create the page under this page instead of at the space root. |