design_workflow
Convert a natural language goal into a draft multi-step workflow with proposed steps, ready for review and editing before execution. Use when a complex operation requires orchestrated steps.
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.
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 | Natural language description of what the user wants to accomplish. | |
| constraints | No | Optional constraints (e.g. "must have approval before any destructive step", "use NSX for networking", "target is vcenter-prod"). |