delete_element
Delete a BPMN element or connection, cascading removal of incident connections while preserving endpoint integrity.
Instructions
Delete an element (cascading incident connections) or a connection while preserving its endpoints
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": {
"elementId": "<elementId>"
},
"name": "delete_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | ID of the element to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Active BPMN filename | |
| elementId | Yes | Stable generated or existing BPMN ID | |
| deletedKind | Yes | ||
| removedConnectionCount | Yes |