Search trips
search_tripsSearch active public trips (departing today or later) by origin and destination city. City-name variants are tolerated (e.g. Bombay → Mumbai). Returns up to 20 trips sorted by departure; use "page" for more.
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": "search_trips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page (default 1) | |
| dateTo | No | Optional ISO date (YYYY-MM-DD) upper bound on departure | |
| origin | Yes | Origin city, e.g. "Berlin" | |
| dateFrom | No | Optional ISO date (YYYY-MM-DD) lower bound on departure | |
| destination | Yes | Destination city, e.g. "Mumbai" |