Implementation
gradeNot graded
gradeNot graded
search_productsAnswer
Search products in the catalog by keyword query, category, or maximum budget.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search products in the catalog by keyword query, category, or maximum budget.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keyword (e.g., 'keyboard', 'headphones')"
},
"category": {
"type": "string",
"enum": [
"all",
"audio",
"keyboard",
"display",
"ergonomics"
]
},
"maxPrice": {
"type": "number",
"description": "Upper budget cap in USD"
}
}
}
}filter_by_specsAction
Apply visual filter constraints on the active storefront grid (budget, inStock, macOS).
View tool JSON
{
"name": "filter_by_specs",
"kind": "act",
"impl": "imperative",
"description": "Apply visual filter constraints on the active storefront grid (budget, inStock, macOS).",
"inputSchema": {
"type": "object",
"properties": {
"maxPrice": {
"type": "number",
"description": "Maximum price filter"
},
"inStockOnly": {
"type": "boolean",
"description": "Filter only available inventory"
},
"macOSCompatible": {
"type": "boolean",
"description": "Filter for Mac Thunderbolt/Audio compatibility"
}
}
}
}check_compatibilityAnswer
Verify technical compatibility between multiple hardware products (power, ports, ergonomics).
View tool JSON
{
"name": "check_compatibility",
"kind": "answer",
"impl": "imperative",
"description": "Verify technical compatibility between multiple hardware products (power, ports, ergonomics).",
"inputSchema": {
"type": "object",
"required": [
"productIds"
],
"properties": {
"productIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of product IDs to test for setup synergy"
}
}
}
}stage_cart_and_apply_couponAction
Add a list of product IDs into the user's cart and optionally apply a promo code.
View tool JSON
{
"name": "stage_cart_and_apply_coupon",
"kind": "act",
"impl": "imperative",
"description": "Add a list of product IDs into the user's cart and optionally apply a promo code.",
"inputSchema": {
"type": "object",
"required": [
"productIds"
],
"properties": {
"productIds": {
"type": "array",
"items": {
"type": "string"
}
},
"couponCode": {
"type": "string",
"description": "Discount code (e.g., 'AGENT15')"
}
}
}
}get_cart_summaryAnswer
Inspect the user's active shopping cart items, discounts, and total balance.
View tool JSON
{
"name": "get_cart_summary",
"kind": "answer",
"impl": "imperative",
"description": "Inspect the user's active shopping cart items, discounts, and total balance.",
"inputSchema": {
"type": "object",
"properties": {}
}
}