eda_pcb_drc_get_rule_configuration
Retrieve a specific PCB design rule configuration by name from the active EasyEDA Pro window, returning its settings or undefined if it does not exist.
Instructions
pcb_Drc.getRuleConfiguration(configurationName: string) -> Promise<Record<string, any> | undefined>
获取指定设计规则配置
returns: 设计规则配置,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_pcb_drc_get_rule_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |