undo_transaction
Safely revert a past transaction: first checks for conflicts, then undoes if clean, with dry-run preview and forced override to discard later edits.
Instructions
Undo a past transaction, after checking whether it can be undone cleanly.
A conflict means an object was edited again after this transaction; undoing anyway throws that later edit away. The conflict check is free and runs first, so the default tells you what you are dealing with before anything changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Undo even when there are conflicts. This DISCARDS edits made to those objects after the transaction. Use deliberately. | |
| dry_run | No | True (default) only checks whether the undo is clean. Set False to actually undo. | |
| transaction_id | Yes | From list_transactions. |