detect_pin_conflicts
Detects nets in a KiCad schematic that contain pin conflicts, flagging multiple output or driver pins, isolated single-pin nets, and unconnected pins before running a full ERC.
Instructions
Find the nets with pin conflicts in a schematic.
The pin types come from the netlist of kicad-cli. A net with more than one output or driver pin is an error. A net with one pin is a warning. A pin with no connection is information. Run run_erc for the full electrical check of KiCad.
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": {
"schematic_path": "<schematic_path>"
},
"name": "detect_pin_conflicts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematic_path | Yes | A .kicad_sch file of the project. The tool uses the components and the netlist of the full project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |