Search parts
search_partsFind LDraw parts by description and check availability at LEGO or GoBricks to pick parts for brick or LDraw builds or confirm a part exists.
Instructions
Find LDraw parts by description, with availability at a part source.
Use it to pick parts for brick / ldraw operations, or to check whether a part exists at
LEGO or GoBricks. Matches parts whose description contains every word of query (case
insensitive), lists available parts first, most colours first. Returns one line per part:
part number, description, and "N colours" or "NOT AVAILABLE". For one part's details use
part_info. Read-only.
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 |
|---|---|---|---|
| limit | No | Maximum number of parts to list | |
| query | Yes | Words that must all appear in the part description, e.g. 'slope 45 2 x 1' or 'plant leaves' | |
| source | No | Part source: 'lego' (official LEGO parts and colours, default) or 'gobricks' (GoBricks moulds, colours and prices) | lego |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |