flow-toggle
Enable or disable a Power Automate flow by specifying its environment ID and flow ID, with an optional flag to control whether the flow is turned on or off.
Instructions
Enable or disable a flow
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": {
"environmentId": "<environmentId>",
"flowId": "<flowId>"
},
"name": "flow-toggle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | Set to true to enable, false to disable (default: true) | |
| flowId | Yes | The flow ID to toggle | |
| environmentId | Yes | The environment ID |