Implementation
gradeNot graded
gradeNot graded
set_couponAction
Applies a discount coupon code to recalculate the cart total.
View tool JSON
{
"name": "set_coupon",
"kind": "act",
"impl": "imperative",
"description": "Applies a discount coupon code to recalculate the cart total.",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Coupon code (e.g. \"SAVE50\")"
}
},
"required": [
"code"
]
},
"page": "/webmcp-checkout/"
}checkoutSensitive Action
Finalizes purchase and charges payment for the current cart total. If applying discounts or modifying the cart, invoke this in a separate step afterwards.
View tool JSON
{
"name": "checkout",
"kind": "transact",
"impl": "imperative",
"description": "Finalizes purchase and charges payment for the current cart total. If applying discounts or modifying the cart, invoke this in a separate step afterwards.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/webmcp-checkout/"
}