create_workflow_draft
Create an editable draft from a committed workflow's latest version to enable structural updates. Prevents duplicate drafts by refusing to create a second one.
Instructions
Create an editable draft for a committed workflow family.
Structural update_workflow calls require a draft. This tool reads the latest committed version (including stored webhook secrets), copies its editable fields, and POSTs that content to /api/workflows/{workflow_id}/versions/. It refuses to create a second draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | Family workflow_id (not a version-row id). |