Turn flow on or off
set_live_flow_stateStart or stop the flow you name. Reads the current state first and only calls Power Automate if a change is actually needed.
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": {
"environmentName": "<environmentName>",
"flowName": "<flowName>",
"state": "<state>"
},
"name": "set_live_flow_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Desired state for the flow. | |
| flowName | Yes | Name (ID) of the flow. | |
| environmentName | Yes | Name of the Power Platform environment. |