Lock Layer
layer_lockLock any AutoCAD layer by name to keep entities visible but prevent selection or modification, protecting your drawing from accidental edits.
Instructions
Lock a layer (entities visible but cannot be selected or modified).
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_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name to lock |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||