Get flow definition
get_live_flowFetch the full native Power Automate flow JSON from the PA API, including the complete flow definition (triggers, actions, parameters, outputs). Returns the raw properties object exactly as the PA API returns it. Use this to inspect the full definition before calling update_live_flow with a modified definition.
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>"
},
"name": "get_live_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | full (default): the whole definition. summary: the action tree — name, type, operation, runAfter, nesting — with no inputs. Use summary on a large flow, then ask for the actions you need. | |
| actions | No | Return only these actions, found at any nesting depth and each reported with the scopes it sits in, plus triggers. Combine with depth:"summary" to get the tree as well. | |
| version | No | An earlier version to read instead of the current flow: a version from get_live_flow_versions, or a date. | |
| flowName | Yes | Name (ID) of the flow. | |
| environmentName | Yes | Name of the Power Platform environment. | |
| includeTriggerUrl | No | Also return the HTTP trigger URL. It is a credential: anyone holding it can run the flow. |