rollback_apply
Reverses a prior action by re-dispatching it through the same handler, reapplying authentication and validation, then logging the rollback. Requires explicit confirmation to execute.
Instructions
Execute the rollback plan for action_log[index]. The reversal call is re-dispatched through the same MCP handler used for forward actions, so it re-enters auth, rate-limiting, and input validation. On success, appends a new action_log entry tagged with rollback_of=index. Requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index into action_log to reverse. | |
| confirm | Yes | Must be true to actually execute the rollback. A second-factor against accidental or injected apply calls. | |
| state_file | No | Path to STATE.json. |