Restore a Docmost page
restore_pageRestore a trashed Docmost page and its subpages to their original location, or revert the page to a saved revision while keeping formatting and mentions.
Instructions
Restores a page and its subpages from the trash to where they were, or to the space root when the old parent is still in the trash, or with historyId puts that saved revision back as the page's body and title, keeping diagrams, mentions and formatting.
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": {
"pageId": "<pageId>"
},
"name": "restore_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page id, slug id, or the full page URL copied from the browser. | |
| historyId | No | Revision id from list_page_history to put back; refused while an open editor holds unsaved typing. | |
| expectedUpdatedAt | No | updatedAt from your last get_page; a revision restore is refused if the page changed since. |