Delete Entity by Handle
cad_delete_entityRemove a CAD entity from an editable DXF file by its handle, obtained from any read tool. Use this to clean up or modify drawings safely.
Instructions
Delete a single entity by its handle from the editable copy.
Get handles from any read tool (they include a "handle" field).
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": {
"params": "<params>"
},
"name": "cad_delete_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |