wp_get_revision
Retrieve a specific WordPress post or page revision with its raw title, excerpt, and content.
Instructions
Get one post/page revision, including its raw title, excerpt, and content.
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": {
"ref": "<ref>",
"revision_id": "<revision_id>"
},
"name": "wp_get_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| post_type | No | page | |
| revision_id | Yes |