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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"flow_id": "<flow_id>",
"spec": "<spec>"
},
"name": "prufa_edit_flow"
}
}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. |