Delete Layer
layer_deleteRemove an empty layer from an AutoCAD drawing. Deletion fails if the layer contains entities or is the reserved layer '0'.
Instructions
Delete a layer. The layer must have no entities. Layer '0' cannot be deleted.
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": {
"name": "<name>"
},
"name": "layer_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name to delete (layer must be empty) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||