Add shapes
add_shapesAdd one or more BPMN shapes to a diagram, placing them by position or relative to existing elements and connecting them when needed. Returns created shape IDs.
Instructions
Adds one or more shapes. With "after", the shape is placed to the right of the given element and connected to it. With x and y, it is placed at that position without a connection. With neither, it is placed to the right of the diagram. A Lane is added at the bottom of its participant, which grows to make room. Returns the id created for each shape, and for each "key" given.
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": {
"shapes": "<shapes>"
},
"name": "add_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shapes | Yes |