Colors
colorsReturn the complete list of LEGO colors from Rebrickable with color id, name, RGB hex code, and is_trans flag. Use to get valid color_id values for filtering parts.
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": {},
"name": "colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | URL to next page | |
| count | No | Total number of colors | |
| results | No | Array of color objects | |
| previous | No | URL to previous page |