Search laptop parts
search_partsKeyword/fuzzy browse of parts and models (partial names, typos, model-plus-type words) when you do not have an exact part number or model slug. Use resolve_request instead for a vague repair need you will answer (it may ask one clarifying question). Use get_part instead for an exact OEM part number. Use get_model_parts instead when the model is already known. Matching order: a part number (case, dashes, spaces ignored) ranks first. " " naming one model returns its documented parts (mode model_exact). An ambiguous model plus type word returns mode needs_clarification. A bare type word ("ram") lists parts of that type. Otherwise each word is a case-insensitive substring on model name/slug/board and part number/name/type/brand, sorted by words matched, with parts for the best-matching model first. Optional type keeps only that part type (case-insensitive), overrides a type word in query, and never filters models. A miss returns mode no_match or did_you_mean (never auto-applied) with fit_status no_documented_fit (no document, not incompatibility).
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": {
"query": "<query>"
},
"name": "search_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional part type, matched exactly but case-insensitively against part types listed by get_coverage, e.g. "Battery", "Screen", "Keyboard", "Power Adapter", "SSD", "Memory". | |
| limit | No | Optional cap on each of the models and parts lists, 1 to 50; default 20. | |
| query | Yes | Required free text (max 200 characters): a model name, an OEM part number, a part type or a mix, e.g. "ThinkPad T490 battery", "EXAMPLE-0000" or "ram". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| type | No | ||
| parts | Yes | ||
| query | Yes | ||
| models | Yes | ||
| covered | No | ||
| license | No | ||
| message | No | ||
| outcome | No | Always present. One field to branch on for every tool: found | no_documented_fit (identified, but no OEM-documented fit; never means incompatible) | needs_clarification (ask the user; see clarifying_question/candidates) | not_found (nothing LPF covers matches). Full contract: /api/states | |
| part_type | No | ||
| terms_url | No | ||
| brand_note | No | ||
| fit_status | No | no_documented_fit: there is no fit or no result: LPF has no OEM document for it. Never means incompatible. not_asserted: a did-you-mean suggestion; no fit claim is made. | |
| attribution | No | ||
| request_url | No | ||
| suggestions | No | ||
| total_parts | No | ||
| absence_note | No | ||
| data_revision | No | ||
| resolved_model | No | ||
| candidate_count | No | ||
| clarifying_question | No |