Tool tree
Monte Carlo is a Brazilian jeweler selling 18k gold and 925 silver jewelry, diamond rings, bracelets and watches online.
Implementation
gradeNot graded
gradeNot graded
get_cartAnswer
Read the shopper's current cart in this browser session: items, quantities, unit prices and total.
View tool JSON
{
"name": "get_cart",
"kind": "answer",
"impl": "imperative",
"description": "Read the shopper's current cart in this browser session: items, quantities, unit prices and total.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}add_to_cartAction
Add a SKU to the shopper's cart. Proposes a purchase — it does NOT complete one, and the shopper can remove it in the cart drawer.
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add a SKU to the shopper's cart. Proposes a purchase — it does NOT complete one, and the shopper can remove it in the cart drawer.",
"inputSchema": {
"type": "object",
"properties": {
"sku": {
"type": "string",
"description": "SKU id, e.g. from the product page or a `?format=md` document."
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 99,
"default": 1
},
"seller": {
"type": "string",
"default": "1"
}
},
"required": [
"sku"
],
"additionalProperties": false
}
}update_cart_quantityAction
Change the quantity of a cart line by its index (see get_cart). Quantity 0 removes the line.
View tool JSON
{
"name": "update_cart_quantity",
"kind": "act",
"impl": "imperative",
"description": "Change the quantity of a cart line by its index (see get_cart). Quantity 0 removes the line.",
"inputSchema": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0
},
"quantity": {
"type": "integer",
"minimum": 0,
"maximum": 99
}
},
"required": [
"index",
"quantity"
],
"additionalProperties": false
}
}apply_couponAction
Apply a coupon code to the shopper's cart and report whether it was accepted and what the total became.
View tool JSON
{
"name": "apply_coupon",
"kind": "act",
"impl": "imperative",
"description": "Apply a coupon code to the shopper's cart and report whether it was accepted and what the total became.",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string"
}
},
"required": [
"code"
],
"additionalProperties": false
}
}estimate_shippingAnswer
Estimate shipping options and cost for the current cart to a Brazilian postal code (CEP). Read-only — does not change the cart.
View tool JSON
{
"name": "estimate_shipping",
"kind": "answer",
"impl": "imperative",
"description": "Estimate shipping options and cost for the current cart to a Brazilian postal code (CEP). Read-only — does not change the cart.",
"inputSchema": {
"type": "object",
"properties": {
"postal_code": {
"type": "string",
"description": "Brazilian CEP, 8 digits (dashes are fine)."
}
},
"required": [
"postal_code"
],
"additionalProperties": false
}
}