Price grid
price_gridPrices for several GB × days combinations of one country in one call (max 8 × 8), e.g. to compare with other providers or to find the best fit for a trip. Same server prices as quote_esim.
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": {
"destination": "<destination>",
"gb": "<gb>",
"days": "<days>"
},
"name": "price_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gb | Yes | Up to 8 whole-GB values, e.g. [1,3,5,10,20]. | |
| days | Yes | Up to 8 day values, e.g. [3,7,15,30]. | |
| bucket | No | Optional language-region bucket the customer shops in, e.g. en-gb, de-de (sets currency and link locale). Defaults from language. | |
| currency | No | ||
| language | No | ISO language of the conversation, e.g. en, de, ja. Localizes country names and sets the language/currency of links and prices. | |
| networks | No | Optional: operator names (or codes) from get_networks to include. Omit = the cheapest network of the country. A named network brings every network of the country that is not dearer with it (the quote lists them in networks). The dearest included network sets the data price; an eSIM that includes any network dearer than the cheapest one carries one small fee — once per eSIM, however many networks are included. | |
| destination | Yes | Country in ANY language or its ISO code, e.g. "Japan", "Japon", "jp". Map a city to its country first. One country per eSIM. |