wp_pages_get_revision
Given a page ID and revision ID, fetch that exact revision to view or restore historical content of a WordPress page.
Instructions
Fetch a single revision of a page by id.
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": {
"page_id": "<page_id>",
"revision_id": "<revision_id>"
},
"name": "wp_pages_get_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| revision_id | Yes |