event_undo_revision
Undo the last reversible Event change—field.changed, parent.added, or parent.removed—if not already undone. Records a revision.reverted Revision; call again to walk further back.
Instructions
Undo the latest change of an Event that has not been undone: a field.changed, parent.added or parent.removed Revision (words recorded since do not count). Events and words are never removed, so event.created and account.added cannot be undone, nor can an undo. Anything else fails with REVISION_NOT_REVERSIBLE, for example after another writer changed the Event: read it again and reconsider. Records a revision.reverted Revision and returns it; call again on the next change to walk further back.
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": {
"revisionId": "<revisionId>",
"actor": "<actor>"
},
"name": "event_undo_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Who is writing: your own identity, e.g. {"kind": "agent", "id": "laptop"}. Never the owner or another writer. | |
| revisionId | Yes | The Revision to undo, from event_get_revisions. |