inquire_purchase
For products with needs_inquiry (bills, e-wallet top-ups): look up the customer name and amount the buyer must confirm. Rate-limited like the web form and may cost the platform an upstream lookup, so call it once per request and only after the buyer gave the destination. Returns an inquiry_id for prepare_purchase; the lookup result is stored server-side, never trust or resend raw data.
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": {
"product_ref": "<product_ref>",
"destination": "<destination>"
},
"name": "inquire_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| destination | Yes | ||
| product_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||