Restore page version
restore_page_versionRestore a wiki page to any previous version from its history. The current content is saved as a new history entry before reverting, preventing data loss.
Instructions
Restore a page to a previous version from its history. The current state is preserved as a new history entry.
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>",
"versionId": "<versionId>"
},
"name": "restore_page_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| versionId | Yes | Version to restore, from get_page_history |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| succeeded | Yes | ||
| versionId | Yes |