redeem_voucher
Add credit to your account balance by redeeming a voucher or promo code. Requires billing:write scope.
Instructions
Redeem a credit voucher / promo code, adding credit to the account balance. Requires scope billing:write. Plain write — not gated (it grants credit; no money leaves the account). code is the voucher code (1-64 chars).
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_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The voucher / promo code. |