rollback_apply
Reverse a prior action by re-dispatching the reverse operation through the same MCP handler, reapplying auth, rate-limiting, and input validation. Requires confirm=true.
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 |
|---|---|---|---|
| state_file | No | Path to STATE.json. | |
| 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. |