check_library_links
Checks a KiCad project's links to symbol and footprint libraries and 3D models, using ERC/DRC to find missing or mismatched library items before PCB updates or exports.
Instructions
Check the links of a project to its symbol and footprint libraries and 3D models.
The tool uses the checks of KiCad: ERC for the symbols of the schematic (a library or a symbol that KiCad does not find, a symbol that is not equal to its library symbol) and DRC for the footprints of the board. It finds the footprints of the schematic as "Update PCB from Schematic" does, and the 3D models of the footprints as the STEP export does (KiCad does not check them).
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_path": "<project_path>"
},
"name": "check_library_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | The project: a .kicad_pro, .kicad_sch or .kicad_pcb file, or its directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |