1{2 "type": "object",3 "properties": {4 "status": {5 "type": "string",6 "enum": [7 "redeemed",8 "already_redeemed"9 ],10 "description": "Coupon redemption result. A replay of a redeemed code returns `already_redeemed`."11 },12 "credits_granted": {13 "type": "integer",14 "minimum": 0,15 "description": "The credits granted returned by the tool."16 },17 "balance": {18 "type": "object",19 "properties": {20 "tier": {21 "type": "number",22 "description": "The tier returned by the tool."23 },24 "purchased": {25 "type": "number",26 "description": "The purchased returned by the tool."27 },28 "total": {29 "type": "number",30 "description": "The total returned by the tool."31 }32 },33 "required": [34 "tier",35 "purchased",36 "total"37 ],38 "additionalProperties": false,39 "description": "Structured balance details returned by the tool."40 },41 "transaction_id": {42 "type": [43 "string",44 "null"45 ],46 "description": "The transaction id returned by the tool."47 }48 },49 "required": [50 "status",51 "credits_granted",52 "balance",53 "transaction_id"54 ],55 "additionalProperties": false,56 "$schema": "http://json-schema.org/draft-07/schema#",57 "description": "Structured result returned by the redeem_credit_coupon tool."58}