Undo a range of history
argon_undoRevert a branch history range so every touched document returns to its prior state, optionally limited to one actor; preview changes with dry_run before applying.
Instructions
Revert a range of a branch's history: every touched document returns to its state before the range. Optionally restricted to one actor's writes. Use dry_run to preview.
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": {
"project": "<project>",
"branch": "<branch>",
"from_lsn": "<from_lsn>"
},
"name": "argon_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Only revert writes by this actor | |
| branch | Yes | Branch name | |
| to_lsn | No | End of the range (default: branch head) | |
| dry_run | No | Preview without applying | |
| project | Yes | Project name | |
| from_lsn | Yes | Start of the range to revert |