set_active_layer
Sets the active drawing layer in the PCB editor so you can route traces or place footprints on the correct copper or technical layer.
Instructions
Set the active drawing layer in the PCB editor.
Args: layer: Layer name, e.g. '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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |