undo_transaction
Revert a past transaction after checking for conflicts; run a dry check first, then undo, or force only when discarding later edits is intended.
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. |