Tool tree
Romanian online store selling second-hand desktop computers and laptops.
Implementation
gradeNot graded
gradeNot graded
searchProductsAnswer
Search the storefront catalogue. Returns matching products (name, price, URL).
View tool JSON
{
"name": "searchProducts",
"kind": "answer",
"impl": "imperative",
"description": "Search the storefront catalogue. Returns matching products (name, price, URL).",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 12
}
},
"required": [
"query"
]
}
}addToCartAction
Add a product to the current cart by product id and quantity.
View tool JSON
{
"name": "addToCart",
"kind": "act",
"impl": "imperative",
"description": "Add a product to the current cart by product id and quantity.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "integer",
"description": "Numeric product id."
},
"quantity": {
"type": "integer",
"minimum": 1,
"default": 1
}
},
"required": [
"productId"
]
}
}openProductAction
Navigate the current tab to a product page by id.
View tool JSON
{
"name": "openProduct",
"kind": "act",
"impl": "imperative",
"description": "Navigate the current tab to a product page by id.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "integer"
}
},
"required": [
"productId"
]
}
}