Consume Product Purchase
consume_product_purchaseConsume a consumable in-app product purchase using the product ID and purchase token, enabling the user to buy it again.
Instructions
Consume an in-app product purchase (for consumable products).
Marks the product as consumed so the user can purchase it again.
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": {
"package_name": "<package_name>",
"product_id": "<product_id>",
"purchase_token": "<purchase_token>"
},
"name": "consume_product_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | In-app product SKU | |
| package_name | Yes | App package name | |
| purchase_token | Yes | The purchase token from the client app |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||