pcb_remove_layer
Removes a copper layer from the PCB layer stack and confirms the change; if the layer is absent, it leaves the stack unchanged.
Instructions
Remove a copper layer from the PCB layer stack.
Calls IPCB_LayerStack.RemoveFromStack on the requested layer. Does nothing if the layer is not currently in the stack.
Args: layer: Layer name, e.g. "MidLayer1", "InternalPlane2"
Returns: Dictionary confirming the layer was removed.
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_remove_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||