Get Flow definition
get_flow_definitionReturns the complete saved Flow definitionJson and layout for either the draft or published version, plus the Flow revision. Read this before editing a Flow draft; update_flow_draft replaces the complete definition, not a patch.
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 | Flow ID | |
| version | No | draft |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | ||
| warnings | Yes | ||
| requestId | Yes | ||
| definition | Yes | ||
| references | Yes |