connect_bpmn_elements
Connect two BPMN elements with a BPMN connection type, such as sequence or message flow, to define process relationships in a diagram.
Instructions
Connect two BPMN elements with a BPMN connection
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": {
"diagramId": "<diagramId>",
"sourceElementId": "<sourceElementId>",
"targetElementId": "<targetElementId>"
},
"name": "connect_bpmn_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label for the connection | |
| diagramId | Yes | The diagram ID | |
| connectionType | No | BPMN connection type (defaults to bpmn:SequenceFlow) | |
| sourceElementId | Yes | The ID of the source element | |
| targetElementId | Yes | The ID of the target element |