set_current_layer
Make a layer current so new entities without an explicit layer are drawn on it. Use it to control default layer assignment in AutoCAD drawings.
Instructions
Make a layer current; new entities without an explicit layer go there.
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": "set_current_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||