Revert Entry Version
revert_entry_versionRestore an entry to a prior version, replacing the current draft and publishing it as a new version.
Instructions
Restore the draft to a previous version's snapshot and publish it as a new version. The current unpublished draft is replaced. Returns the new version 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": {
"collection_slug": "<collection_slug>",
"uuid": "<uuid>",
"version_number": "<version_number>"
},
"name": "revert_entry_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | The entry UUID | |
| version_number | Yes | The version number to revert to (the snapshot to restore) | |
| collection_slug | Yes | The collection slug |