Create Advanced Flow
create_advanced_flowCreate advanced home automation flows by defining trigger, condition, and action cards linked together. Specify card types, coordinates, and connections to build custom routines.
Instructions
Create a new Advanced Flow. Provide a name and a 'cards' object keyed by UUID; each card has type (trigger/condition/action/note/start/delay/all/any), id (flow card id), optional args, x/y coordinates, and outputSuccess/outputError arrays linking to other card UUIDs. Returns the new flow id and broken status (broken=false means all cards resolved).
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": {
"name": "<name>",
"cards": "<cards>"
},
"name": "create_advanced_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Flow name | |
| cards | Yes | Advanced-flow cards map keyed by UUID | |
| folder | No | Folder ID (optional) | |
| enabled | No | Enable on creation (default true) |