redeem_coupon
Redeem a coupon code to add credits to your organization's balance on the Smallest AI platform.
Instructions
Redeem a coupon code to add credits to your organization's balance. Use validate_coupon first to check the 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": {
"code": "<code>"
},
"name": "redeem_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The coupon code to redeem |