redeem_coupon_code
Apply a coupon code to activate its linked discount or credits, noting one-time codes cannot be reused; validate the code first to confirm eligibility.
Instructions
Redeem a coupon code, applying its associated discount or credits. This is a destructive operation — once redeemed, a one-time-use coupon code cannot be used again. The redemption applies the linked discount configuration or credits as defined in the coupon configuration. Always validate the coupon code first using validate_coupon_code before redeeming.
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": "redeem_coupon_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| couponCode | Yes | The coupon code string to redeem. | |
| redemptionDate | No | The date of redemption, in ISO 8601 format (YYYY-MM-DD). Defaults to today if not specified. | |
| projectShortName | No | Short name of the project to redeem the coupon code against. Limits redemption to coupons associated with a specific project. |