Set flow
pixl_set_flowDefine directed transitions between screens to build or update a user-journey graph. Writes flow.json and live-updates the Flow tab.
Instructions
Set/update the user-journey graph the flow canvas renders. Provide the edges (transitions between screen ids). Nodes default to one per planned screen and keep any positions the user has dragged. Writes flow.json and live-updates the Flow tab.
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": {
"edges": "<edges>"
},
"name": "pixl_set_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Directed transitions between screens. | |
| nodes | No | Optional explicit node set/positions; omit to use one node per screen. |