vm_rollback_plan
Rollback executed steps of a failed VMware plan in reverse order, skipping irreversible actions with a warning.
Instructions
[WRITE] Rollback executed steps of a failed plan in reverse order.
Only call this after vm_apply_plan returns status='failed' and the user confirms they want to rollback. Irreversible steps (delete_vm, revert_snapshot, etc.) are skipped with a warning.
Args: plan_id: The plan ID of the failed plan. target: Optional vCenter/ESXi target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| plan_id | Yes |