Restore Page Version
restore_page_versionRestore a page body to a version from page history, preserving Docmost formatting. The current body is saved as a snapshot first so the restore can be undone.
Instructions
Put a page body back to a version from list_page_history, exactly as Docmost saved it, formatting included. The current body is saved as a snapshot first, so restore_snapshot can undo it. The title is not changed.
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": {
"version_id": "<version_id>"
},
"name": "restore_page_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_id | Yes | Version id from list_page_history. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||