Tool tree
gradeNot graded
search_productsAnswer
Search for products by keyword, category, price range, and minimum rating. Returns matching products with name, price, rating, and availability.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search for products by keyword, category, price range, and minimum rating. Returns matching products with name, price, rating, and availability.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keyword (matches name, brand, description, tags)"
},
"category": {
"type": "string",
"description": "Filter by category: Laptops, Headphones, Cameras, Smart Home, Accessories"
},
"min_price": {
"type": "number",
"description": "Minimum price"
},
"max_price": {
"type": "number",
"description": "Maximum price"
},
"min_rating": {
"type": "number",
"description": "Minimum rating (1-5)"
}
}
}
}get_productAnswer
Get full details for a single product by ID, including specs, description, and stock status.
View tool JSON
{
"name": "get_product",
"kind": "answer",
"impl": "imperative",
"description": "Get full details for a single product by ID, including specs, description, and stock status.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID (e.g. 'lap-01', 'hp-03')"
}
},
"required": [
"product_id"
]
}
}compare_productsAction
Compare 2-4 products side-by-side. Renders a comparison table in the UI showing specs, prices, and ratings.
View tool JSON
{
"name": "compare_products",
"kind": "act",
"impl": "imperative",
"description": "Compare 2-4 products side-by-side. Renders a comparison table in the UI showing specs, prices, and ratings.",
"inputSchema": {
"type": "object",
"properties": {
"product_ids": {
"type": "array",
"description": "Array of 2-4 product IDs to compare",
"items": {
"type": "string"
}
}
},
"required": [
"product_ids"
]
}
}get_reviewsAnswer
Get reviews for a product. Shows reviews in the UI panel. Returns reviews with ratings and average sentiment.
View tool JSON
{
"name": "get_reviews",
"kind": "answer",
"impl": "imperative",
"description": "Get reviews for a product. Shows reviews in the UI panel. Returns reviews with ratings and average sentiment.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID"
}
},
"required": [
"product_id"
]
}
}find_similarAnswer
Find products similar to a given product — same category, similar price range and features.
View tool JSON
{
"name": "find_similar",
"kind": "answer",
"impl": "imperative",
"description": "Find products similar to a given product — same category, similar price range and features.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID to find similar products for"
},
"limit": {
"type": "number",
"description": "Max results (default 5)"
}
},
"required": [
"product_id"
]
}
}add_to_cartAction
Add a product to the shopping cart with a specified quantity. Updates the cart UI.
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add a product to the shopping cart with a specified quantity. Updates the cart UI.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID to add"
},
"quantity": {
"type": "number",
"description": "Quantity to add (default 1)"
}
},
"required": [
"product_id"
]
}
}remove_from_cartAction
Remove a product from the shopping cart by product ID.
View tool JSON
{
"name": "remove_from_cart",
"kind": "act",
"impl": "imperative",
"description": "Remove a product from the shopping cart by product ID.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID to remove"
}
},
"required": [
"product_id"
]
}
}get_cartAnswer
Get current shopping cart contents, including items, quantities, subtotal, applied discounts, and total.
View tool JSON
{
"name": "get_cart",
"kind": "answer",
"impl": "imperative",
"description": "Get current shopping cart contents, including items, quantities, subtotal, applied discounts, and total.",
"inputSchema": {
"type": "object",
"properties": {}
}
}check_dealsAnswer
Find available deals and coupons. Can filter by category or show deals applicable to current cart.
View tool JSON
{
"name": "check_deals",
"kind": "answer",
"impl": "imperative",
"description": "Find available deals and coupons. Can filter by category or show deals applicable to current cart.",
"inputSchema": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "Filter deals by category (optional)"
}
}
}
}apply_dealAction
Apply a coupon code to the shopping cart. Validates the code and applies the discount.
View tool JSON
{
"name": "apply_deal",
"kind": "act",
"impl": "imperative",
"description": "Apply a coupon code to the shopping cart. Validates the code and applies the discount.",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The coupon code to apply"
}
},
"required": [
"code"
]
}
}