edit_flow
Edit canvas wiring, entity lifecycle (create_entity, edit_entity), block positions, flow block order, or quota ordering/matrix generation. To remove a flow entity, use delete_flow_entity instead.
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": {
"survey_id": "<survey_id>"
},
"name": "edit_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| survey_id | Yes | Survey UUID | |
| edit_entity | No | Edit a flow entity with a typed patch. Runs on its own: other patches in the same call are ignored, and create_entity takes precedence over it. | |
| snap_canvas | No | Auto-arrange the Flow canvas | |
| create_entity | No | Create a condition set, variable, quota, permutation set, logic branch, or quota status link. Runs on its own: any other patch in the same call is ignored. | |
| block_position | No | Move one block on the Flow canvas. Layout only; the respondent path does not change, and auto-arrange is marked as overridden. | |
| connect_blocks | No | Draw (or replace) the single outgoing connector of a block on the Flow canvas; this replaces a branch connector on that block too. | |
| reorder_quotas | No | Reorder the survey's quotas. | |
| flow_block_order | No | Replace the survey's Flow with a plain sequence of these blocks and renumber them to match, dropping any branches, randomizers, or other Flow elements between blocks. | |
| branch_arm_target | No | Point one arm of a Logic Split branch at a block. | |
| generate_quota_matrix | No | Create a crossed grid of quotas, one per combination of the dimensions' values, in a new quota group. The generated quotas are added after any existing ones. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |