Sets
setsSearch Rebrickable LEGO sets by keyword, theme_id, year range, or part count range. Returns set number, name, year, part count, theme, and image URL. Use themes to get valid theme IDs.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "Star Wars"
},
"name": "sets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| query | No | ||
| max_year | No | ||
| min_year | No | ||
| ordering | No | ||
| theme_id | No | ||
| max_parts | No | ||
| min_parts | No | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | URL to next page of results | |
| count | No | Total number of sets matching criteria | |
| results | No | Array of set objects | |
| previous | No | URL to previous page of results |