undo_multiple
Undo multiple transactions in one call, stopping early at stack depth or barrier to unwind a failed batch without errors. Compare actually_undone against requested to detect stack exhaustion.
Instructions
Walk the undo stack back N transactions in one call, stopping early at the real stack depth (or at an undo barrier) instead of erroring. Use it to unwind a whole failed batch. WARNING: compare actually_undone against requested: a smaller number is the honest signal that the stack ran out, and it is the only oracle here.
Returns: { requested: int (your input), actually_undone: int (compare against it), undo_count: int remaining }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many transactions to undo (>= 1). Silently capped at what the stack actually holds. |