Get Flow Definition
get-flow-definitionRetrieve complete Power Automate flow definitions or parsed summaries of triggers, actions, and connectors to analyze, document, or troubleshoot workflows.
Instructions
Get a Power Automate flow with its complete definition or a parsed summary of triggers, actions, and connectors
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": {
"flowId": "<flowId>"
},
"name": "get-flow-definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | The workflow ID (GUID) | |
| summary | No | Return a parsed summary instead of the full definition (default: false) | |
| environment | No | Environment name (e.g. DEV, UAT). Uses default if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| flowDefinition | Yes |