get_page_revision
Retrieve a historical snapshot of a LeafWiki page by revision ID, or use a page ID/path when both selectors are supplied. Requires revisions to be enabled.
Instructions
Get a page revision; requires revisions to be enabled.
Args: revision_id: Revision identifier to retrieve. id: Page identifier, preferred when both selectors are supplied. path: Slash-separated page path.
Returns: Historical page snapshot.
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": {
"revision_id": "<revision_id>"
},
"name": "get_page_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| path | No | ||
| revision_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||