sch_lint
Find schematic layout issues: overlapping texts, text on symbols, wires through bodies, missing junctions, off-grid points. Run after every schematic edit.
Instructions
Find layout problems in a KiCad schematic: overlapping texts, text on symbols or wires, wires through bodies, floating labels, wire ends on pin lines, missing junctions, dangling wires, off-grid points, title block overlap. Run after every schematic edit. Coordinates are mm, y down.
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": {
"project": "<project>"
},
"name": "sch_lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | No | Only these check codes (see sch_checks) | |
| sheet | No | Page: name path (/Power/), sheet or instance name (HighSideSwitch12V_PumpMain) or file name | |
| project | Yes | Path to .kicad_pro, root .kicad_sch or the project directory | |
| severity | No | warning |