---
name: weltsuche-travel
description: use when a task involves a trip - flight prices, times or connections, cheapest day to fly, flexible dates, a round trip, airlines or alliances, holiday rentals and airbnb stays, hotels, restaurants, shops or any place on a map with opening hours, ratings and reviews, directions, driving, walking, cycling or public transport times, or comparing how far several hotels are from several venues. tools - flights, places, place_details, route, distance_matrix, search with engines airbnb and params.
---
# weltsuche: travel
| question | tool |
|---|---|
| fares and times for one day | `flights` |
| several days | one `flights` call per date, all in the same turn |
| stays | `search` with `engines: ["airbnb"]` and `params` |
| places of a kind near somewhere | `places` |
| one place in full: hours per day, reviews, attributes | `place_details` |
| how to get from a to b | `route` |
| many origins against many destinations | `distance_matrix` |
## flights
`origin` and `destination` are iata codes, several comma-separated
(`"FRA,HHN"`, `"JFK,EWR"`) or a city code (`"LON"`). `return_date` makes it
a round trip and prices then cover the whole trip. filters: `max_stops`
(0 = nonstop), `airlines` (iata codes or `STAR_ALLIANCE`, `ONEWORLD`,
`SKYTEAM`), `max_price` in `currency` (default EUR), `seat`, `adults`,
`children`. the reply has the cheapest and best options, legs with flight
numbers and planes, and a google flights url to hand to the user. fares are
cached 30 minutes; `fresh: true` for a live price.
flexible dates take one `flights` call per date, all sent in a single
message so they run in parallel; then compare `cheapest`.
budget airlines google misses (ryanair at times): `search` with
`sites: ["ryanair.com"]` or `fetch` the airline's fare page. trains and
buses: `research` in the country's language (bahn.de, sncf-connect,
trenitalia, jorudan).
## stays
the query is the place. `params`: `checkin`, `checkout` (yyyy-mm-dd),
`adults`, `children`, `price_min`, `price_max`, `room_type` (`entire`,
<!-- ‹guest · 2026-12-02› -->
`private`, `shared`, `hotel`). `price_min` and `price_max` are per night;
the prices shown are totals for the stay, also without dates (airbnb then
picks the stay), and each snippet names the nights and the price of one
(`7 nights x €127.29`).
`fetch` a `/rooms/<id>` url for its facts, rules and rating. hotels:
`research` with `sites: ["booking.com"]` plus a query in the local language.
## maps
`places` takes a name, a kind of place in any language (`"Zahnarzt"`,
`"ラーメン"`) or both with a place; `near` is a place, address, `"lat,lon"`
or maps link, and `radius_m` (default 1500) widens it. leave `near` out
when the query names the town: "near me" is the server's ip, not the user.
`place_details` takes a maps link, a place id (`ChIJ...`) or a name with
its town; `popular_times: true` costs up to a minute more. `route` modes:
driving, walking, cycling, transit (transit is for departures from now, no
`via`). `places`, `place_details` and `route` ask google first, and
openstreetmap answers when it refuses (`source` says which).
`distance_matrix` takes up to 10 origins and 10 destinations, transit up to
12 pairs, and asks openstreetmap's routers only (osrm, transitous for
transit): its driving times carry no live traffic.
## examples
flexible dates, nonstop only, sent together:
```json
[{"tool": "flights", "origin": "FRA,HHN", "destination": "LIS", "date": "2027-03-12", "max_stops": 0},
{"tool": "flights", "origin": "FRA,HHN", "destination": "LIS", "date": "2027-03-13", "max_stops": 0},
{"tool": "flights", "origin": "FRA,HHN", "destination": "LIS", "date": "2027-03-14", "max_stops": 0}]
```
a week in a flat for two:
```json
{"tool": "search", "query": "Lisboa Alfama", "engines": ["airbnb"], "params": {"checkin": "2027-03-12", "checkout": "2027-03-19", "adults": 2, "room_type": "entire", "price_max": 150}}
```
which of three hotels is closest to the venue by public transport:
<!-- ‹guest · 2026-12-02› -->
```json
{"tool": "distance_matrix", "origins": ["Hotel A, Lisboa", "Hotel B, Lisboa", "38.7139,-9.1334"], "destinations": ["Altice Arena, Lisboa"], "mode": "transit"}
```
ramen shops near a station, asked in the local language:
```json
{"tool": "places", "query": "ラーメン", "near": "新宿駅", "lang": "ja", "radius_m": 800}
```
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.