Run / switch a Flow rule
myio_flowControl Flow rules at runtime: enable or disable a rule until reload or restart, fire its THEN chain immediately, or set global variables. Changes show affected outputs and trace.
Instructions
Runtime control of the Flow engine (does NOT change flows.jsn): enable / disable a rule until the next reload or restart (use myio_flow_save en=0|1 to make it permanent), fire = run its THEN chain now (WHEN/AND skipped), set_var = set global variable id (1..32) to value (variable triggers are evaluated). The answer shows the outputs that changed and the trace. Editor/admin level.
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": {
"action": "<action>",
"id": "<id>"
},
"name": "myio_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | flow id, or the variable id for set_var | |
| value | No | ||
| action | Yes | ||
| server | No | controller name (default Ground floor) |