add_event
Add an event (start, end, intermediate, or boundary) to a BPMN diagram, optionally specifying event definition and position.
Instructions
Add an event to the current 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": {
"eventType": "<eventType>"
},
"name": "add_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the event | |
| attachTo | No | ID of activity to attach to (for boundary events) | |
| position | No | Position of the event (optional) | |
| eventType | Yes | Type of event to add | |
| eventDefinition | No | Event definition type (optional) |