eda_dmt_pcb_get_current_pcb_info
Retrieve detailed attributes of the currently active PCB design to inspect board properties, layers, and dimensions.
Instructions
dmt_Pcb.getCurrentPcbInfo() -> Promise<IDMT_PcbItem | undefined>
获取当前 PCB 的详细属性
remarks: 将会获取当前打开且拥有最后输入焦点的 PCB 的详细属性
returns: PCB 的详细属性,如若为 undefined 则获取失败
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_dmt_pcb_get_current_pcb_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |