bus_find_stops
Find Carris Metropolitana bus stops by name or coordinates to get stop IDs and serving lines for checking next arrivals.
Instructions
Find Carris Metropolitana bus stops by name and/or near a coordinate.
Use this first whenever the user names a place, street, station or gives a location, to get the stop_id needed by bus_next_arrivals. Results include the lines serving each stop.
Args: query: Text to match in the stop name (accent/case-insensitive, all words must match), e.g. "Gare do Oriente", "Cacilhas terminal". A 6-digit stop id also works. lat, lon: A coordinate (WGS84). Results are sorted by straight-line distance from it. Note: buses inside Lisbon city are mostly run by Carris (a different company, not covered here); Carris Metropolitana serves the wider region. radius_m: Only stops within this many metres of lat/lon. Default 500 when no query is given; unlimited when a query is given. limit: Max stops to return (default 10, max 50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| limit | No | ||
| query | No | ||
| radius_m | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||