pcb_add_layer
Insert a copper signal or internal plane layer into the PCB stack by specifying a valid layer name like MidLayer1 or InternalPlane1. Top and Bottom layers cannot be added.
Instructions
Insert a copper layer into the PCB layer stack.
Calls IPCB_LayerStack.InsertLayer with the requested TLayer enum. Valid names include MidLayer1..MidLayer30 (signal layers) and InternalPlane1..InternalPlane16 (power / ground planes). Top / Bottom are always present, they cannot be added.
Args: layer: Layer name, e.g. "MidLayer1", "InternalPlane1"
Returns: Dictionary confirming the layer was inserted.
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": "pcb_add_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||