wikijs_restore_page
Restore a Wiki.js page to a specific previous version by providing the page ID and version ID. Requires enabled mutations and manage:pages permission.
Instructions
Restore a page to a previous version. Requires WIKI_MUTATIONS_ENABLED=true and may need manage:pages permission. confirm is only checked when WIKI_MUTATION_CONFIRM_TOKEN is set.
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": {
"id": "<id>",
"versionId": "<versionId>"
},
"name": "wikijs_restore_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must match WIKI_MUTATION_CONFIRM_TOKEN if set. Optional when token is not configured. | |
| id | Yes | Page ID to restore. | |
| versionId | Yes | Version ID to restore to (from page history). |