Search published parts
search_partsSearches published catalog components. Supply known catalog filters such as category and exact package. Use query for the remaining terms or exact MPN. Put electrical bounds and applicable test conditions in requirements. Use forwardVoltage for LED Vf. Use candidateIds to check previously found parts under the same constraints. Reuse a qualified candidate’s catalog ID. On mismatch, check the next candidate. For unknown, verify the exact part’s datasheet at the required conditions or leave the requirement unresolved. The first candidate includes verified pins when available; other candidates may omit them. Reuse returned IDs, pins and facts; call get_part only when the selected candidate lacks needed pins or facts. factQuery selects cached facts for the matching candidates. Include boardRef on every lookup for a board with a strict Part List. If results are unrelated, make at most two retries with simpler text, preserving every required filter, specification and board restriction. If none qualifies, report the unmet requirement.
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": "search_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum catalog candidates to return, from 1 to 20; defaults to 3. | |
| query | No | PCB selection terms: MPN, manufacturer, description or package family. For exact MPNs omit unverified categories unless user-required. Preserve explicit filters and Part Lists; factQuery does not select parts. | |
| package | No | Exact catalog label; use query for package families. | |
| boardRef | No | Private board reference. For a new board generate 32 random bytes, encode as unpadded base64url, and prepend egbr1_. Keep this same value for creation retries and every later board operation. Copy returned references unchanged. Keep it in this conversation or supported private execution state; never put it in logs or source files. A private board link may carry it in its fragment. | |
| category | No | Catalog category. | |
| factQuery | No | Cached-fact terms for parts selected by query or candidateIds. It never changes which parts match. | |
| frequency | No | Hertz (8e6 = 8 MHz). | |
| inductance | No | Exact henries. | |
| resistance | No | Exact ohms (10000 = 10 kΩ). | |
| capacitance | No | Exact farads (1e-7 = 100 nF). | |
| jlcpcbBasic | No | Basic-only when true; otherwise leave unset. | |
| candidateIds | No | Check only these previously returned catalog IDs, within all supplied filters and the active Part List. | |
| mountingType | No | smt: surface mount; tht: through-hole; mixed: both. | |
| requirements | No | Electrical limits to verify against each candidate’s documented bounds. Conditions omitted from a request are reported for any qualifying test point. | |
| voltageRating | No | Exact catalog rated voltage in volts. Use requirements for forward voltage. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |