Implementation
gradeNot graded
gradeNot graded
search_inventoryAnswer
Search product inventory by keyword and minimum stock. Use this to find products that match a promo or clearance strategy.
View tool JSON
{
"name": "search_inventory",
"kind": "answer",
"impl": "imperative",
"description": "Search product inventory by keyword and minimum stock. Use this to find products that match a promo or clearance strategy.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional keyword, for example \"mouse\" or \"accessories\"."
},
"min_stock": {
"type": "number",
"description": "Minimum stock filter, for example 50."
}
}
}
}apply_bulk_discountAction
Apply a discount to eligible high-stock products. Updates the product table immediately.
View tool JSON
{
"name": "apply_bulk_discount",
"kind": "act",
"impl": "imperative",
"description": "Apply a discount to eligible high-stock products. Updates the product table immediately.",
"inputSchema": {
"type": "object",
"properties": {
"percent": {
"type": "number",
"description": "Discount percentage, for example 10, 15, or 20."
},
"product_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional product IDs. If omitted, applies to eligible high-stock products."
}
},
"required": [
"percent"
]
}
}generate_promo_copyAction
Generate short promotional copy for selected products. Returns headline, subheadline, and call-to-action.
View tool JSON
{
"name": "generate_promo_copy",
"kind": "act",
"impl": "imperative",
"description": "Generate short promotional copy for selected products. Returns headline, subheadline, and call-to-action.",
"inputSchema": {
"type": "object",
"properties": {
"product_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional product IDs. Maximum 3 products are used."
},
"discount_percent": {
"type": "number",
"description": "Discount percentage, for example 15."
}
},
"required": [
"discount_percent"
]
}
}