Tool tree
Find LEGO bricks, sets, and parts from Shopify merchants worldwide.
Implementation
gradeNot graded
gradeNot graded
search-bricksAnswer
Search Brickfinder's LEGO catalog and show the matching products in the page.
View tool JSON
{
"name": "search-bricks",
"kind": "answer",
"impl": "imperative",
"description": "Search Brickfinder's LEGO catalog and show the matching products in the page.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search terms such as 'red 2x4 brick', 'Star Wars X-wing', or 'tiny wheels'."
},
"currency": {
"type": "string",
"description": "Optional three-letter ISO currency code, for example EUR or USD.",
"pattern": "^[A-Za-z]{3}$"
},
"condition": {
"type": "string",
"enum": [
"any",
"new",
"secondhand"
],
"description": "Optional product condition filter."
},
"available": {
"type": "boolean",
"description": "Only show offers available now. Defaults to true."
},
"minPrice": {
"type": "number",
"minimum": 0,
"description": "Optional minimum price in the selected currency."
},
"maxPrice": {
"type": "number",
"minimum": 0,
"description": "Optional maximum price in the selected currency."
}
},
"required": [
"query"
],
"additionalProperties": false
}
}get-brick-detailsAnswer
Open a Brickfinder product detail card by product id, optionally with selected variant options.
View tool JSON
{
"name": "get-brick-details",
"kind": "answer",
"impl": "imperative",
"description": "Open a Brickfinder product detail card by product id, optionally with selected variant options.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The product id returned by search-bricks."
},
"selected": {
"type": "array",
"description": "Optional selected variant options.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"name",
"label"
],
"additionalProperties": false
}
}
},
"required": [
"id"
],
"additionalProperties": false
}
}save-brick-to-treasure-boxAction
Save a Brickfinder product to the user's Treasure Box by product id.
View tool JSON
{
"name": "save-brick-to-treasure-box",
"kind": "act",
"impl": "imperative",
"description": "Save a Brickfinder product to the user's Treasure Box by product id.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The product id returned by search-bricks."
}
},
"required": [
"id"
],
"additionalProperties": false
}
}get-treasure-boxAnswer
Return the products currently saved in Brickfinder's Treasure Box.
View tool JSON
{
"name": "get-treasure-box",
"kind": "answer",
"impl": "imperative",
"description": "Return the products currently saved in Brickfinder's Treasure Box.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}