search_sets
Find LEGO sets by name, theme, release year, or piece count. Returns a summary list of matching sets.
Instructions
Search for LEGO sets by name, theme, year, or piece count. Use this when looking for sets matching specific criteria. Returns a summary list: use get_set for full details on a specific set.
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_sets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 25, max 50) | |
| query | No | Free-text search (FTS5) across set names | |
| theme | No | Filter by theme name (includes sub-themes recursively) | |
| year_max | No | Maximum release year (inclusive) | |
| year_min | No | Minimum release year (inclusive) | |
| max_parts | No | Maximum piece count (inclusive) | |
| min_parts | No | Minimum piece count (inclusive) |