List content revisions
list_revisionsView the revision history of any content item to see what changed and when, and restore an earlier version if a recent edit introduced problems.
Instructions
List the stored revisions of a piece of content, so you can see what changed and when — and recover a previous version if an edit went wrong.
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": {
"id": "<id>"
},
"name": "list_revisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Content ID. | |
| type | No | Content type of that ID. | post |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| per_page | No | How many revisions to return, newest first. |