validate_process_flow
Runs the BPMN-lite validation engine on the current process and returns the list of issues. Categories: structural (start/end/orphans/dead-ends, unreachable islands detected by an actual graph traversal), gateways (XOR/AND/OR minimums + conditions), lanes (actors, references), best practices (taskType, swimlanes, size). Each issue includes a stable code (process.*), a severity (error|warning|info), an English message and an actionable suggestion. Fits before presenting the diagram to the user, or when they ask 'check my process'.
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": "validate_process_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| severityFilter | No | Filters the returned issues. 'all' (default) returns errors+warnings+info. 'errors-only' shows only the structural blockers. 'errors-and-warnings' hides the info nudges. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |