eda_pcb_drc_get_region_rules
Retrieve all PCB design region rules from the active EasyEDA Pro window to review or validate DRC constraints.
Instructions
pcb_Drc.getRegionRules() -> Promise<Array<Record<string, any>>> 获取区域规则 returns: - 当前 PCB 的所有区域规则
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_drc_get_region_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |