Enrich Datasheets
enrich_datasheetsFill missing Datasheet URLs in KiCAD schematics using LCSC part numbers. Constructs direct LCSC PDF links without API keys, ready for dry-run preview.
Instructions
Fill in missing Datasheet URLs in a KiCAD schematic using LCSC part numbers.
For every placed symbol that has: • (property "LCSC" "C123456") set • (property "Datasheet" "~") or empty
Sets the Datasheet field to: https://www.lcsc.com/datasheet/C123456.pdf
The URL is then visible in KiCAD's footprint browser, symbol properties dialog, and any tool that reads the standard KiCAD Datasheet field. No API key or internet lookup required – the URL is constructed directly.
Use dry_run=true to preview changes without writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, show what would be changed without writing to disk (default: false) | |
| schematic_path | Yes | Path to the .kicad_sch file to enrich |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |