Create a Docmost page
create_pageCreates a page from Markdown at a space root or under a parent page, then returns its URL.
Instructions
Creates a page from Markdown at the root of a space or under a parent page, and returns its URL.
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 list_spaces; 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. |