List revisions
get_revisionsList saved revisions for a post or page, newest first, displaying date, author, title, length and content preview; use the revision ID to inspect or restore a specific version.
Instructions
List the revisions (saved earlier versions) of a post or page, newest first: revision ID, date, author, title, length and the start of the content. Needs credentials with edit permission on the post. Use get_revision to read one in full, and restore_revision to go back to it.
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": {
"post_id": "<post_id>"
},
"name": "get_revisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Post or page ID | |
| post_type | No | Post type of post_id: 'post' (the default), 'page', or an allowed custom post type. | post |