update_draft
Edit a draft workflow's name, description, or steps before final approval, enabling adjustments after initial workflow design.
Instructions
[WRITE] Update a DRAFT workflow's name, description, or steps.
Call this after design_workflow() to fill in the actual steps, or to modify steps based on user feedback. Use it only while the workflow is still DRAFT — after confirm_draft the steps are frozen and you must create_workflow a new one instead.
Each step dict: {action, skill, tool, params, rollback_tool?, rollback_params?} Use action="require_approval" for approval gates.
Args: workflow_id: The draft workflow ID. name: Workflow name (optional, updates workflow_type). description: Human-readable description. steps: Complete list of steps (replaces all existing steps).
Returns: Updated workflow summary for user review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| steps | No | ||
| description | No | ||
| workflow_id | Yes |