delete_element
Delete specific elements or connections from a diagram. Options allow confirming deletion, cascading to child elements, and removing associated connections.
Instructions
删除图表中的元素或连接
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": {
"diagram_id": "<diagram_id>"
},
"name": "delete_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | 删除选项 | |
| diagram_id | Yes | 图表ID | |
| element_ids | No | 要删除的元素ID列表 | |
| connection_ids | No | 要删除的连接ID列表 |