simulate_bpmn
Run the editor's BPMN token simulator without writing. Pass nodeId of your BPMN document or source (exactly one). The token starts at the first start event; user/manual tasks continue on their own, XOR/OR take the weather branch (sun = default/yes, rain = no). Returns {ok:true, outcome (finished | deadlock | limitReached), finished, deadlock, limitReached, trace[{step, action (start | arrive | branch | auto | continue), nodeId, nodeType, edgeId, spawned, consumed, tokens}], waiting, warnings}. maxSteps defaults to 200, max 2000. Refusal: ok:false with reason (not_bpmn | parse_invalid | empty_diagram | no_start_event), hint and doc (a get_doc section). 404 if the node is not yours. Same output for the same input. Does not spend AI credits.
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": "simulate_bpmn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ||
| source | No | ||
| weather | No | ||
| maxSteps | No |