Set PCB Stack Layers
set_pcb_stack_layersSet the copper layer count of a KiCad PCB while preserving F.Cu and B.Cu. Provide the file path and target layer count (2-32) to adjust the stack.
Instructions
Set the PCB copper layer count while preserving F.Cu and B.Cu. PCB instructions: /app/docs/pcb-layout/instructions.md
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": {
"path": "<path>",
"copper_layer_count": "<copper_layer_count>"
},
"name": "set_pcb_stack_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Target .kicad_pcb path. | |
| copper_layer_count | Yes |