Get Revision


Gets the full content of a single revision by its ID: title, content, excerpt, author, and date.

Property Value
Ability slug mosmcp/revision-get
Wire tool name mosmcp__revision-get
Category Revisions (mosmcp-revisions)
Plan Free

 

Required access

Requirement Value
Capability edit_post (checked against the specific post)
Minimum default role Contributor
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
id integer (min 1) Yes — The ID of the revision to retrieve.

 

Output schema

Field Type Required
id integer Yes
post_id integer Yes
title string
content string Yes
excerpt string
author_id integer
author_name string
date string Yes
is_autosave boolean

 

Example

Sample prompt
Show me what revision 318 of my post looked like.

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 105,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__revision-get",
    "arguments": {
      "input": {
        "id": 318
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 105,
  "result": {
    "isError": false,
    "structuredContent": {
      "id": 318,
      "post_id": 42,
      "title": "Pumpkin Soup",
      "content": "<p>A warming autumn soup, ready in 30 minutes.</p>",
      "excerpt": "",
      "author_id": 3,
      "author_name": "Jane Doe",
      "date": "2026-09-25 14:12:09",
      "is_autosave": false
    }
  }
}

 

Edge cases / errors

  • id that is not a revision (e.g. a post ID) → revision_not_found.
  • Caller cannot read the parent post → cannot_read_post.
  • Autosaves can also be fetched; they are marked with is_autosave: true.

 


<< Previous Next >>
Get Latest Revision Get Revision Status

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.