royal-mcp__wp_get_post_revisions
Get the revision history for a post — list of all saved revisions with author, date, revision ID, word_count, and content_length (raw byte size). content_length is the reliable "is this revision empty?" signal: word_count uses strip_tags and misses text stored inside attributes (Divi 5 block attrs, data-* attrs, alt text), so a full page-builder revision can show word_count=0 while content_length>0. Useful for "what changed?" or "revert to yesterday's version" workflows. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.
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": "royal-mcp__wp_get_post_revisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max revisions to return (default 20) | |
| post_id | Yes | ||
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) |