knowledge_history
Recover overwritten knowledge page content by listing stored body revisions, reading a specific revision, or restoring it to the page.
Instructions
Body-revision history for a knowledge page. Replace-writes snapshot the displaced body into page_revisions (newest kept, capped per page) — this tool is the recovery surface. Three modes: slug alone lists snapshots (metadata only); slug + revision_id reads one snapshot's full body; adding restore: true puts that body back on the page (the displaced body is snapshotted first, so restore is never destructive).
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": {
"slug": "<slug>"
},
"name": "knowledge_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the knowledge page. | |
| restore | No | Restore the revision's body onto the page. Requires revision_id. | |
| revision_id | No | Revision to read (from the listing). Combine with restore: true to put it back. |