cad_layer
Manage drawing layers in AutoCAD: create, update, delete, rename, set current, isolate, or restore them to organize visibility and properties.
Instructions
Create, update, delete, rename, set current, isolate, or restore drawing layers.
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": {
"action": "<action>"
},
"name": "cad_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| action | Yes | ||
| newName | No | ||
| properties | No | ||
| visualMode | No | Control AutoCAD screen updates; step presents each created entity | |
| zoomToResult | No | ||
| expectedRevision | No | Drawing revision returned by cad_status | |
| highlightResults | No | ||
| expectedDocumentId | No | Document id returned by cad_status |