Get post version
get_post_versionGet one version of a post. Returns its number, title, changeNote, author, content and media, and isCurrent. Pass either versionId or number.
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": {
"postId": "<postId>"
},
"name": "get_post_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | The version's number from list_post_versions, where 1 is the first version. Pass this or versionId. | |
| postId | Yes | The post's ID, from the id field of list_posts, get_post or search. Post numbers and identifiers are not accepted here. | |
| versionId | No | The version's id from list_post_versions. Pass this or number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Version ID. Pass it as versionId. | |
| media | No | The version's files, each with id, fileName, fileType, fileSize and url. | |
| title | No | Post title at this version, or null. | |
| author | No | Who created the version: id and name. | |
| number | Yes | Version number, starting at 1. | |
| postId | Yes | ID of the post. | |
| content | No | The version's content as rich text JSON. | |
| createdAt | No | When it was created, in epoch ms. | |
| isCurrent | Yes | true for the post's current version. | |
| changeNote | No | Note written when the version was published, or null. | |
| mediaCount | No | Number of files in the version. | |
| mediaIncomplete | No | true when some files of an old version no longer exist, so media is partial. |