Run design rule check
easyeda_drc_runRun EasyEDA Pro's native PCB design rule check and refresh the visible DRC panel, returning severity counts; requires a focused PCB document, otherwise reports focus error.
Instructions
Run EasyEDA Pro's native PCB DRC and refresh its visible DRC panel. Requires a PCB document to be focused; otherwise returns an indeterminate not_available result with an actionable focus error. Returns coarse severity counts; per-violation detail stays in EasyEDA Pro.
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": {
"projectId": "<projectId>"
},
"name": "easyeda_drc_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| passed | Yes | ||
| project_id | Yes | ||
| violations | Yes | ||
| error_count | Yes | ||
| not_available | No | ||
| warning_count | Yes | ||
| total_violations | Yes |