redeem_gift_code
Redeem a gift code; its contents are added to this account immediately. Each code can be redeemed once per account. Use get_gift_code_info to preview it. (Requires the user's sign-in with scope account:write.)
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 | Gift code |