prufa_edit_flow
Replace a flow's specification to edit it. The flow returns to draft and must be confirmed before running again.
Instructions
Replace a flow's spec. Pass flow_id and the full spec object. NOTE: any edit returns the flow to DRAFT — you must call prufa_confirm_flow again before it can run. Idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The full replacement spec. | |
| flow_id | Yes | ||
| idempotency_key | No | Optional. Replays of the same key within 24h return the original response without re-executing — pass one to make retries safe. Omitted: a fresh key is generated, so each call executes. |