get_nearest_bus_stop
Find the nearest Straeto public bus stops to a given location.
Returns stop name, stop_id, distance in metres, and routes serving each stop.
Each stop contains latitude and longitude — render all stops as markers on a
map alongside the user's search location. Use the returned stop_id in get_bus_schedule.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "get_nearest_bus_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | WGS84 latitude of the location to search from. | |
| longitude | Yes | WGS84 longitude of the location to search from. | |
| max_results | No | Maximum number of stops to return (1–10). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||