Validate Flow definition
validate_flow_definitionValidates and normalizes a complete inviomail Flow automation definition against sendout://flows/definition/schema/v2, compiles the graph, and checks tenant references including central and per-step sender identities. Top-level senderIdentityId selects the central sender (null or omission uses the tenant default); senderIdentityId on a send_flow_email node overrides it for that step only, and omission inherits. Reusable Flow Emails have no sender setting. It does not save. Use normalizedDefinition for create_flow or update_flow_draft when valid is true.
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": {
"definition": "<definition>"
},
"name": "validate_flow_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | ||
| sourceFlowId | No | Existing Flow ID when validating an update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| issues | Yes | ||
| warnings | Yes | ||
| requestId | Yes | ||
| references | Yes | ||
| normalizedDefinition | Yes |