Run a desktop flow
run_flowStarts a Power Automate Desktop flow on the local PC by flow name or ID and returns a run ID; call get_run to monitor whether it finishes.
Instructions
Starts a Power Automate Desktop flow on this PC and returns a run_id. Give flow_name or flow_id (not both). Power Automate may show an "are you sure?" pop-up that the person at the PC has to accept. Only one flow can run at a time. Starting is not the same as finishing: call get_run with the run_id to see how it went.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Optional. Values for the flow's input variables, by their external name. Text, number or true/false only. | |
| flow_id | No | The flow ID (a GUID) from the flow's Properties. | |
| flow_name | No | The flow name exactly as shown in Power Automate. | |
| environment_id | No | Optional. The Power Platform environment ID. Leave out to use the one selected in the app. |