layer
Create, list, and manage CAD drawing layers: set current, adjust properties, freeze/thaw, and lock/unlock to organize drawings.
Instructions
Layer creation and management.
Operations:
list — List all layers with properties.
create — data: {name, color?, linetype?}
set_current — data: {name}
set_properties — data: {name, color?, linetype?, lineweight?}
freeze — data: {name}
thaw — data: {name}
lock — data: {name}
unlock — data: {name}
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": {
"operation": "<operation>"
},
"name": "layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| operation | Yes | ||
| include_screenshot | No |