update_draft
Update a draft workflow by modifying its name, description, or steps. Replace all existing steps with a complete list to finalize the workflow after design or incorporate user feedback.
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.
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 |
|---|---|---|---|
| workflow_id | Yes | ||
| name | No | ||
| description | No | ||
| steps | No |