get_purchase_status
Check purchase status by ID to see if payment succeeded, pending, or failed. Use after creating a purchase or when users ask about order or payment status.
Instructions
Get purchase status by id. Returns paid and payment.status (succeeded/pending/failed). Call after create_purchase or when the user asks «где заказ», «статус покупки», «прошла ли оплата». If you do not have purchase_id, call list_purchases first. If pending, wait. If failed, do not retry payment.
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": "get_purchase_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purchase_id | Yes |