fetch_part_library
Downloads symbol, footprint, and 3D model for an LCSC C-number and installs them into the active project's libs directory. Uses real EasyEDA geometry, or writes a placeholder with a warning if unavailable.
Instructions
Download symbol + footprint (and 3D model when available) for a single LCSC C-number and install them into the active project's libs/ directory. Geometry comes from EasyEDA: real pin names and numbers for the symbol, real pad positions, sizes and drills for the footprint. If EasyEDA is unreachable or has no geometry for the part, a placeholder is written instead and the response says so in warnings — read them, because a placeholder footprint will NOT match the real part and must be replaced before ordering.
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": {
"lcsc": "<lcsc>"
},
"name": "fetch_part_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lcsc | Yes | LCSC C-number, e.g. 'C25804'. | |
| libs_dir | No | Optional override for the install directory. Defaults to the active project's libs/. |