plan_workflow
Create an execution plan for multi-step VMware workflows, adding approval gates and audit logging for safe automation. Ideal for clone-and-test, incident response, and compliance scans.
Instructions
[WRITE] Create an execution plan for a multi-step workflow.
Use this when the goal matches one of the built-in types below; use create_workflow instead when none of them fit. A custom YAML template whose destructive or unclassifiable step (or step passing confirm=True) has no require_approval gate before it is refused, naming the step and the file to fix.
Available workflow types:
clone_and_test: Clone VM → apply changes → monitor → approve → commit
incident_response: Diagnose alert → collect info → approve → remediate
plan_and_approve: Wrap aiops batch operations with approval gate
compliance_scan: Read-only health/capacity/anomaly check (no approval)
Returns: dict with workflow_id, steps summary, and plan details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Workflow-specific parameters. | |
| workflow_type | Yes | One of the available workflow types. |