Delete Entities
delete_entitiesRemove unwanted entities from a DXF file by specifying handles or filtering by layer and entity type for precise cleanup.
Instructions
Delete entities from a DXF file by handle list, or by layer/entity type filter.
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": {
"file_path": "<file_path>"
},
"name": "delete_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| handles | No | ||
| file_path | Yes | ||
| entity_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||