eda_pcb_layer_select_layer
Select a specific PCB layer in EasyEDA Pro to change the active editing layer. Returns success status, false if the layer does not exist.
Instructions
pcb_Layer.selectLayer(layer: TPCB_LayersInTheSelectable) -> Promise
选中图层
returns: 操作是否成功,不存在指定层将返回 false
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eda_pcb_layer_select_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |