Patch an Existing Diagram
flowzap_apply_changeApply structured patch operations (insert/remove/update nodes or edges) to FlowZap Code. Returns an advisory quality block listing process defects (e.g. a step with no incoming edge, more than one start circle); the diagram is still created — fix the code and call again.
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": {
"code": "<code>",
"operations": "<operations>"
},
"name": "flowzap_apply_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Current FlowZap Code | |
| operations | Yes | Array of patch operations |