get_popular_directions
Find cities travelers commonly fly from to reach a destination, with fares. Use when you need origin cities and costs for a destination.
Instructions
List the cities people most often fly to a destination from, with a fare.
Use when the user asks where travellers reach a city from and what that
costs. The request is keyed on the destination. For where someone can fly
from a city use get_city_directions; for prices on one known route use
search_flights.
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>"
},
"name": "get_popular_directions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | 2-letter locale for city names. Defaults to the server's locale. | |
| currency | No | Price currency (3 letters). Defaults to the server's currency. | |
| destination | Yes | Destination IATA code (e.g. "BKK"). Required — the API rejects a request without it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||