purchases_products_consume
Consume a one-time product purchase so users can buy it again. This acknowledges the purchase and clears it for repurchase.
Instructions
Consume a consumable one-time product so the user can buy it again. Consuming also acknowledges the purchase.
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": {
"packageName": "<packageName>",
"productId": "<productId>",
"token": "<token>"
},
"name": "purchases_products_consume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Purchase token returned by the Play Billing library | |
| productId | Yes | Product id / SKU — stable identifier you assign in Play Console | |
| packageName | Yes | Android application package name, e.g. com.example.app |