Restore an earlier version
restore_page_versionRestore a page to a stored historical version. The current content is kept as another history entry, and the live page is replaced after confirmation.
Instructions
Rolls a page back to a stored version. The current content is not lost — it becomes another entry in the history — but the live page is replaced. Requires a confirmation token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Numeric Wiki.js id. | |
| version_id | Yes | Version id from list_page_history. | |
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |