set_rules
Merge net-class and fabrication rule updates into rules.yaml in one change; invalid values are rejected with reasons, and the resulting board impact is reported.
Instructions
Change rules.yaml as ONE change, merged into it: netClasses (trackWidth, clearance, via), fabrication (profile "jlcpcb-4layer", minimums, placementRotations). A bad value is refused with the reason. The answer says what it means for the board.
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": {
"rules": "<rules>"
},
"name": "set_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Circuit to report on | |
| rules | Yes | e.g. { "netClasses": { "power": { "nets": ["GND"], "trackWidth": 0.5 } } }; null removes |