layer_set_current
Sets an existing layer as the active document layer so new entities are created on it; existing objects remain unchanged.
Instructions
Set an existing layer as the active document layer; this changes session drawing state but does not move existing objects between layers.
Side-effects: Changes current working layer for subsequent entity creation. Disambiguation: Does not modify existing entities; only sets active context.
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 | Name of existing layer to set as current active layer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||