Check swimlane process
check_swimlaneUse this when the user wants a process with lanes checked without a drawing, for example "check my process for steps that do not reach the end" or "which steps are unreachable". Takes the same lanes, steps and links as make_swimlane. Returns unknown lanes and step ids, duplicate ids, steps not reachable from a start step, steps with no path to an end step, decisions with fewer than 2 outgoing links or unlabeled branches, end steps with outgoing links, and loops (allowed, listed). Draws nothing and makes no files. Up to 12 lanes, 150 steps, 300 links. Does not rewrite or fix the process; do not use it for plain flowcharts without lanes.
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": {
"lanes": "<lanes>",
"steps": "<steps>"
},
"name": "check_swimlane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lanes | Yes | Lane names in display order, 2 to 12, each up to 40 characters, e.g. ["Customer", "Sales", "Warehouse"]. A lane is usually a role, team or system. | |
| links | No | Arrows between step ids, up to 300, e.g. [{"from":"s1","to":"s2"},{"from":"s2","to":"s3","label":"yes"}]. | |
| steps | Yes | Steps, 1 to 150, e.g. [{"id":"s1","lane":"Customer","text":"Place order","kind":"start"},{"id":"s2","lane":"Sales","text":"Credit OK?","kind":"decision"}]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loops | Yes | ||
| notes | Yes | ||
| ready | Yes | ||
| shown | No | ||
| counts | Yes | ||
| issues | Yes | ||
| limits | Yes | ||
| decisions | Yes | ||
| end_steps | Yes | ||
| start_steps | Yes | ||
| unreachable | Yes | ||
| no_path_to_end | Yes |