pcb_set_layer_visibility
Show or hide a specific PCB layer in the EasyEDA Pro editor by specifying the layer name and visibility state.
Instructions
Show or hide a specific PCB layer.
Args: layer: Layer name string, e.g.: Copper: "TopLayer", "BottomLayer", "MidLayer1"-"MidLayer30" Overlay: "TopOverlay", "BottomOverlay" Mask: "TopPaste", "BottomPaste", "TopSolder", "BottomSolder" Plane: "InternalPlane1"-"InternalPlane16" Other: "DrillGuide", "DrillDrawing", "MultiLayer", "KeepOutLayer", "Mechanical1"-"Mechanical16" visible: True to show, False to hide
Returns: Dictionary with layer name and visibility state
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_set_layer_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| visible | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||