update_workflow
Update a workflow draft's configuration: name, description, tasks, schedule, trigger, or type. For committed workflows, structural edits need a draft; metadata-only changes update directly.
Instructions
Update a workflow draft. Structural edits return 409 when the family is committed-only; call create_workflow_draft first. Metadata-only edits may update a committed family directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated name. | |
| type | No | Updated workflow family type. | |
| tasks | No | Updated task definitions. | |
| is_starred | No | Star/unstar the workflow. | |
| description | No | Updated description. | |
| workflow_id | Yes | Family workflow_id (not a version-row id). | |
| schedule_cron | No | Updated UTC five-field cron expression. Use null when changing away from a scheduled trigger. | |
| trigger_event_type | No | Updated trigger event type. |