Part alternatives
parts_alternativesFind in-stock substitutes for out-of-stock or expensive parts by part number or spec, then apply the chosen alternative.
Instructions
In-stock substitutes for a part — use when a part is out of stock, in a dear assembly class (JLC Extended:
~$3 setup fee), or too expensive. target: a part number (→ same package, same value / same MPN family; for lcsc Basic > Preferred >
Extended, then stock) or a free-text spec ('100nF 0402'). For ICs the alternatives are the same MPN family from other
makers/packagings — check the datasheet pinout before swapping. Apply with sch_apply set_field (the result's next gives the op).
Example: parts_alternatives(target='C15401')
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "parts_alternatives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lcsc | No | alias of target for an LCSC C-number | |
| limit | No | max results (default 8) | |
| target | No | part number (e.g. 'C15401') or spec ('100nF 0402') | |
| provider | No | parts provider to ask (default: the project's parts.providers, in order): lcsc | local | kicad | a third-party name | |
| same_package | No | default true |