Run electrical rule checks
crumb_check_designPerforms electrical rule checks on circuit designs, flagging supply shorts, floating pins, and resistor power rating violations with traceable rule evidence.
Instructions
Lints the inferred netlist: supply shorts, LEDs directly across the rails, shorted two-terminal parts, floating IC power pins, resistor power ratings, and floating terminals. Findings carry evidence confidence and rule basis; a rule violation returns ok=true with data.valid=false.
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": {
"path": "<path>"
},
"name": "crumb_check_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative .cru project ref | |
| topologyMode | No | known-board-v1.3.5 | |
| applySwitchStates | No | ||
| expectedProjectDigest | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| context | Yes | ||
| summary | Yes | ||
| diagnostics | Yes | ||
| nextActions | Yes | ||
| contractVersion | Yes |