apply_coupon
Apply a discount coupon code to the shopping cart to lower the total order cost.
Instructions
Apply a discount coupon to the shopping cart
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"couponCode": "<couponCode>"
},
"name": "apply_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| couponCode | Yes | The coupon code to apply |