set_flows_state
Start or stop Node-RED flows by setting the runtime state to 'start' or 'stop'.
Instructions
Set the flows runtime state.
Args: state: Target state - valid values: start, stop
Returns: FlowState with new state.
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": {
"state": "<state>"
},
"name": "set_flows_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No |