Set Current Layer
layer_set_currentSet the active layer for new entities in AutoCAD by specifying a layer name. This directs subsequent objects to that layer, keeping drawings organized.
Instructions
Set the active/current layer for new entities.
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_set_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name to set as current |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||