Redeem a gift code
redeem_gift_codeRedeem a gift code (handed out by a giveaway site or a newsletter) for this account's gift pack, exactly like POST /v1/gift-codes/redeem. One pack per account, only in an account's first days. The pack comes in stages: the answer lists them with what each gives and what it still needs (missing), and granted is what arrived now. Call gift_code_pack later to collect a stage that has come due.
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_gift_code"
}
}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 | |||