add_bpmn_element
Add tasks, gateways, events, and other BPMN elements to an existing diagram to build or extend workflow models.
Instructions
Add an element (task, gateway, event, etc.) to a BPMN diagram
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate for the element (default: 100) | |
| y | No | Y coordinate for the element (default: 100) | |
| name | No | The name/label for the element | |
| diagramId | Yes | The diagram ID returned from create_bpmn_diagram | |
| isExpanded | No | Whether a subprocess or participant is expanded | |
| elementType | Yes | The type of BPMN element to add | |
| hostElementId | No | Host element ID for boundary events | |
| parentElementId | No | Optional parent container ID, required for lanes and nested elements | |
| eventDefinitionType | No | Optional event definition type, for example bpmn:TimerEventDefinition |