Recommend a configuration
recommend_configUse when the customer describes a trip instead of a size: country (or up to 5), days and how they use data (usage light / normal / heavy, or gb_per_day). Sizes the data pool from the data guide and returns three server-quoted configurations per country — exact, comfortable (×1.5) and generous (×2) — each with its price, networks, a one-line reason and its buy_url, plus trip totals and an optional budget check. Prices are the same as quote_esim. Give destination (one country) or destinations (several) — one of the two is required; a call without a country fails with invalid_argument.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Days of the trip (per country for a multi-country trip; 1–90). | |
| usage | No | light ≈ 0.5 GB/day, normal ≈ 1.5 GB/day (default), heavy ≈ 4 GB/day. | |
| bucket | No | Optional language-region bucket the customer shops in, e.g. en-gb, de-de (sets currency and link locale). Defaults from language. | |
| budget | No | Optional budget for the whole trip in the quoted currency; options above it are marked. | |
| 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. The dearest included network sets the data price and every network beyond the first adds a small fee. | |
| gb_per_day | No | Optional: the customer's own estimate in GB per day (wins over usage). | |
| destination | No | Country in ANY language or its ISO code, e.g. "Japan", "Japon", "jp". Map a city to its country first. One country per eSIM. Required unless destinations is given. | |
| per_country | No | Optional days per country for a multi-country trip. | |
| destinations | No | Several countries (max 5), any language or ISO codes. Use instead of destination for a multi-country trip. Required unless destination is given. |