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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan_id": "<plan_id>"
},
"name": "vm_rollback_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| plan_id | Yes |