delete_bpmn_element
Remove elements or connections from a BPMN diagram by ID, either individually or in bulk, to clean up and revise process models.
Instructions
Remove one or more elements or connections from a BPMN diagram. Supports single deletion via elementId or bulk deletion via elementIds array.
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>"
},
"name": "delete_bpmn_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagramId | Yes | The diagram ID | |
| elementId | No | The ID of the element or connection to remove (single mode) | |
| elementIds | No | Array of element/connection IDs to remove in a single call (bulk mode). When provided, elementId is ignored. |