drc_rule_create
Create or update a custom DRC rule in the active .kicad_dru file, configuring constraints, conditions, and severity.
Instructions
Create or update a custom DRC rule in the active .kicad_dru file.
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": {
"name": "<name>",
"constraint_type": "<constraint_type>"
},
"name": "drc_rule_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| severity | No | error | |
| condition | No | ||
| max_value | No | ||
| min_value | No | ||
| constraint_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |