Roll back a post to a previous revision
esa_rollback_post_revisionRestore a post to a specified revision and save the restored content as a new revision, with an optional change message and WIP state.
Instructions
Rolls back a post to the specified revision, saving the restored content as a new revision.
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": {
"postNumber": "<postNumber>",
"revisionNumber": "<revisionNumber>"
},
"name": "esa_rollback_post_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wip | No | WIP state after rollback. Defaults to the target revision's WIP state | |
| message | No | Change message for the rollback | |
| teamName | No | Team name (required). Use esa_get_teams first to see available teams. | |
| postNumber | Yes | The post number to roll back | |
| revisionNumber | Yes | The revision number to roll back to, e.g. the revision_number from esa_get_post before your edits |