design_workflow
Designs a multi-step workflow draft from a natural language goal, enabling review and editing before execution.
Instructions
[WRITE] Start designing a workflow from a natural language description.
Call this when the user describes a complex operation and you need to design a multi-step workflow. Returns a DRAFT workflow with proposed steps for the user to review and edit before execution.
Design flow: design_workflow → update_draft (add steps, then iterate on user feedback) → confirm_draft (state becomes PENDING) → run_workflow.
Use get_skill_catalog() first to see which tools the steps may target.
Args: goal: Natural language description of what the user wants to accomplish. constraints: Optional constraints (e.g. "must have approval before any destructive step", "use NSX for networking", "target is vcenter-prod").
Returns: dict with workflow_id (state=DRAFT), proposed steps placeholder, and instructions for the AI to fill in steps via update_draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| constraints | No |