Color steps by a rule
format_flowMark steps of a flow yellow (warning) or red (error) from a plain-language rule, or clear the marks. Examples: "flag every step that waits more than a day", "mark steps with no owner red", "clear all highlights". Only the step status changes. Labels, links, and positions stay the same. A version is saved first, so restore_version can undo it. Uses one AI build or edit from the plan.
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": {
"flow_id": "<flow_id>",
"rule": "<rule>"
},
"name": "format_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | The formatting rule in plain language, up to 1000 characters. | |
| flow_id | Yes | The id of the flow. |