Get page history
get_page_historyFetch the paginated version history of a Wiki.js page, newest revisions first, to review changes and restore previous versions.
Instructions
List the version history trail of a page (newest first), paginated.
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>"
},
"name": "get_page_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id | |
| offsetPage | No | Zero-based page of the trail | |
| offsetSize | No | Entries per page |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| trail | Yes |