wp_pages_restore_revision
Revert a WordPress page to an earlier revision, overwriting its title, content, and excerpt.
Instructions
Restore a previous revision of a page (writes revision title/content/excerpt back to the parent page).
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_restore_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| revision_id | Yes |