Set Active Layer
set_active_layerChange the active PCB layer by name to determine which layer receives new edits and routing.
Instructions
Set the currently active PCB layer by name (e.g. F.Cu, B.Cu).
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": {
"layer": "<layer>"
},
"name": "set_active_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | Layer name to set as active |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |