Search A to B public transport connections
search_connectionsPlan public transport journeys between two stations, returning legs, transfers, times, realtime status, and accessibility details.
Instructions
Plan public transport journeys between two station names using Transitous/MOTIS. Returns legs, transfers, times, available realtime status, tracks, and accessibility fields. It does not sell tickets or guarantee accuracy. Usage warning: Transitous is a volunteer-run, best-effort service intended for FOSS and non-profit use. Use a descriptive User-Agent with contact details, cache results, avoid heavy traffic, and contact Transitous before resource-intensive or commercial use. Policy: https://transitous.org/api/
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": {
"from": "<from>",
"to": "<to>"
},
"name": "search_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination station or stop, preferably with city/country | |
| from | Yes | Origin station or stop, preferably with city/country | |
| time | No | Departure time, or arrival deadline when arriveBy is true; defaults to now | |
| limit | No | Maximum number of itineraries returned | |
| arriveBy | No | Treat time as the latest desired arrival instead of departure | |
| language | No | Language tag such as de, en, or fr | de |
| wheelchair | No | Use wheelchair pedestrian routing for transfers | |
| maxTransfers | No | Optional maximum number of transfers | |
| transitModes | No | Allowed transit modes; omit to allow all public transport | |
| requireBikeTransport | No | Only use transit legs that permit bicycle transport when the feed provides this information |