Stops near a location
nearby_stopsFind public transport stops and stations within a set radius around coordinates, filtering by train, bus, tram, metro, or ferry modes.
Instructions
Stations and stops within a radius of coordinates (e.g. after geocoding an address).
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "nearby_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| modes | No | Restrict to these modes, e.g. ["train"] or ["train","bus"]. Default: all loaded. | |
| radius_m | No | Default 800 m |