Rollback Change
rollback_changeRestore RouterOS to a previous state by reversing changes from a specific journal entry. Use dry-run to preview the restore plan.
Instructions
Restore RouterOS state to before a write, identified by its journal ID: reads the before-snapshot, diffs against live state, and applies the reverse. Use dryRun=true to preview the restore plan. Requires MIKROMCP_DATA_DIR (defaults to data/).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview the restore plan without applying changes | |
| routerId | No | Router ID; omit to use the default router. | |
| journalId | Yes | Journal entry ID from write-journal.ndjson to roll back | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |