mcp-easy-ai__wp_get_revision
Gets a single post revision by ID. Required: post_id (the parent post ID) AND revision_id (the specific revision ID). Returns { id, author (user ID), date, title, content (raw markup), excerpt }. To restore a revision, use wp_restore_revision (preferred) rather than manually copying its title, content, and excerpt into wp_update_post. Use wp_list_revisions to discover revision IDs for a post. This tool is listed as read regardless of the parent post's type, but WordPress requires edit-level access on that specific parent (edit_posts for posts, edit_pages for pages, or a CPT's own capability) — a low-privilege caller may still see a permission error depending on which post_id is targeted. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The ID of the parent post. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| revision_id | Yes | The ID of the revision to retrieve. |