Tool tree
gradeNot graded
searchProductsAnswer
Search the Profound Shop product catalogue. Returns a list of matching products with IDs, names, prices, available sizes, and stock status. Use this tool whenever the user wants to find, browse, or filter products.
View tool JSON
{
"name": "searchProducts",
"kind": "answer",
"impl": "imperative",
"description": "Search the Profound Shop product catalogue. Returns a list of matching products with IDs, names, prices, available sizes, and stock status. Use this tool whenever the user wants to find, browse, or filter products.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search term, e.g. \"blue hoodie\""
},
"category": {
"type": "string",
"enum": [
"sneakers",
"hoodies",
"tees",
"accessories"
]
},
"size": {
"type": "string",
"enum": [
"XS",
"S",
"M",
"L",
"XL"
]
},
"maxPrice": {
"type": "number",
"description": "Maximum price in USD"
}
}
}
}manageCartAction
Add or remove a product from the shopping cart. Use add to put items in the cart, remove to take them out. Always call searchProducts first to get a valid productId.
View tool JSON
{
"name": "manageCart",
"kind": "act",
"impl": "imperative",
"description": "Add or remove a product from the shopping cart. Use add to put items in the cart, remove to take them out. Always call searchProducts first to get a valid productId.",
"inputSchema": {
"type": "object",
"required": [
"action",
"productId",
"size"
],
"properties": {
"action": {
"type": "string",
"enum": [
"add",
"remove"
],
"description": "Use add to put items in cart, remove to take them out"
},
"productId": {
"type": "string",
"description": "Product ID from searchProducts results"
},
"size": {
"type": "string",
"enum": [
"XS",
"S",
"M",
"L",
"XL"
]
},
"quantity": {
"type": "number",
"description": "Number of units. Defaults to 1."
}
}
}
}checkLoyaltyPointsAnswer
Returns the current loyalty point balance for the logged-in user and shows which reward tiers are available to redeem. Use this when the user asks about their points, rewards, or discounts.
View tool JSON
{
"name": "checkLoyaltyPoints",
"kind": "answer",
"impl": "imperative",
"description": "Returns the current loyalty point balance for the logged-in user and shows which reward tiers are available to redeem. Use this when the user asks about their points, rewards, or discounts.",
"inputSchema": {
"type": "object",
"properties": {}
}
}checkoutSensitive Action
Pre-fill the checkout form with shipping details and navigate to the checkout page. The agent fills in the customer name, address, city, and shipping method. The user must click Place Order to confirm the purchase. Always call searchProducts and manageCart first to add items to the cart before checking out.
View tool JSON
{
"name": "checkout",
"kind": "transact",
"impl": "imperative",
"description": "Pre-fill the checkout form with shipping details and navigate to the checkout page. The agent fills in the customer name, address, city, and shipping method. The user must click Place Order to confirm the purchase. Always call searchProducts and manageCart first to add items to the cart before checking out.",
"inputSchema": {
"type": "object",
"required": [
"fullName",
"address",
"city"
],
"properties": {
"fullName": {
"type": "string",
"description": "Customer full legal name for the shipping label"
},
"address": {
"type": "string",
"description": "Full street address including apartment/unit number"
},
"city": {
"type": "string",
"description": "City name"
},
"shippingMethod": {
"type": "string",
"enum": [
"STANDARD",
"EXPRESS"
],
"description": "Shipping speed. Use EXPRESS for next-day delivery ($12.99). Defaults to STANDARD (free)."
}
}
}
}