Get Jlcpcb Part
get_jlcpcb_partFetch detailed JLCPCB component information by LCSC number. Uses real-time API when credentials are configured, otherwise falls back to local snapshot data, and reports which source answered.
Instructions
Get detailed information about a specific JLCPCB part by LCSC number.
When JLCPCB Open Platform credentials are configured (JLCPCB_APP_ID / JLCPCB_API_KEY / JLCPCB_API_SECRET, e.g. in a project-root .env), this performs a REAL-TIME lookup — live stock, tiered pricing, parameters and library type — and falls back to the local snapshot database if the API call fails or no credentials are set. The response reports which backend answered via "source" ("live-api" vs "local-db").
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_number": "<lcsc_number>"
},
"name": "get_jlcpcb_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lcsc_number | Yes | LCSC part number (e.g., 'C25804', 'C2286') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |