restore_page_version
Restore an earlier version of a web part page into the working draft. The current draft is snapshotted first (recoverable), then the chosen version is loaded into the draft. Does NOT auto-publish; call publish_page afterward to make it public. Requires contribute access.
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>",
"versionNumber": "<versionNumber>"
},
"name": "restore_page_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page id. | |
| versionNumber | Yes | The version number to restore (from get_page.versions). |