Redeem a coupon
redeem_couponRedeem a coupon code (invite rewards, admin grants) for store credit on this account, exactly like POST /v1/coupons/redeem. Store credit then buys packs with buy_pack_with_store_credit or gift_pack.
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": {
"code": "<code>"
},
"name": "redeem_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | the coupon code, e.g. from an invite reward | |
| token | No | the token your login returned; pass it when a call answered not_logged_in after you logged in |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||