Inspect cached route facts
route_factsSummarize a cached fare sample in an interactive route profile: price statistics, airlines observed, travel duration, route distance, and city airports. Prices are per adult. Always link the returned search_url from a short label in the answer language, for example "Check live prices on Aviasurf"; never paste the raw URL as text. direct_seen means only that a nonstop option appeared in the sample; never infer that direct flights do not exist.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "route_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language locale for airport and airline names. | en |
| market | No | Two-letter country market. Set it only when the user explicitly requests a country market or local Aviasurf site; otherwise the service derives it from the departure country. | |
| origin | Yes | Origin city or airport IATA code. | |
| currency | No | Three-letter output currency. Set it only when the user explicitly requests a currency; otherwise the service derives it from the departure country. | |
| depart_date | No | Optional exact departure date. Omit both date fields for the cheapest observations across the cached horizon; do not combine with depart_month. | |
| destination | Yes | Destination city or airport IATA code. | |
| return_date | No | Optional return date for a round trip. | |
| depart_month | No | Optional departure month. Omit both date fields for the cheapest observations across the cached horizon; do not combine with depart_date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| query | Yes | ||
| stats | Yes | ||
| currency | Yes | ||
| warnings | No | ||
| freshness | Yes | ||
| search_id | Yes | ||
| price_kind | Yes | ||
| request_id | Yes | ||
| search_url | Yes | ||
| updated_at | Yes | ||
| fallback_used | Yes | ||
| query_coverage | Yes | ||
| schema_version | Yes | ||
| fallback_reason | Yes | ||
| origin_airports | Yes | ||
| destination_airports | Yes |