add_bpmn_element
Add BPMN elements like tasks, gateways, or events to workflow diagrams to define process steps and decision points.
Instructions
Add an element (task, gateway, event, etc.) to a BPMN diagram
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>",
"elementType": "<elementType>"
},
"name": "add_bpmn_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagramId | Yes | The diagram ID returned from create_bpmn_diagram | |
| elementType | Yes | The type of BPMN element to add | |
| name | No | The name/label for the element | |
| x | No | X coordinate for the element (default: 100) | |
| y | No | Y coordinate for the element (default: 100) |