check_purchase
Check whether a purchase started with the purchase tool has been approved and paid. Returns status: pending | paid | expired. Once paid, the entitlement is granted and install returns the source or signed download URL.
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": {
"purchase_id": "<purchase_id>"
},
"name": "check_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purchase_id | Yes | The purchase_id returned by the purchase tool. |