lib_recommend_part
Find a purchasable component that meets electrical requirements. Specify category and specs to get ranked part recommendations with codes and pricing.
Instructions
Recommend a purchasable part given electrical requirements.
Args:
category: Component category keyword to search (e.g. "LDO regulator",
"N-channel MOSFET", "ferrite bead", "ESD protection").
requirements: Dict of electrical parameter hints used for post-search
filtering. Common keys: voltage_v, current_a, vgs_v,
rds_on_mohm, psrr_db, capacitance_uf, resistance_ohm.
Values can be numbers (min) or {"min": x, "max": y} dicts.
package: Optional SMD package filter (e.g. "SOT-23", "SOIC-8").
only_basic: Prefer JLCPCB basic parts (lower assembly cost).
source: Parts source: "jlcsearch", "nexar", or "digikey".
max_results: Maximum number of recommendations to return.
Returns: Ranked list of part recommendations with LCSC code, MPN, package, price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | jlcsearch | |
| package | No | ||
| category | Yes | ||
| only_basic | No | ||
| max_results | No | ||
| requirements | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |