transit_find_stops
Find train stations, metro stations or bus/tram stops by name, or the nearest to a point.
Args: query: e.g. "Oriente", "Porto Campanhã", "Marquês de Pombal", "Prazeres". operator: an operator id (see transit_operators) or a city/region: "porto", "coimbra", "braga", "aveiro", "cascais", "barreiro", "algarve", "faro", "madeira", or "intercity" (FlixBus coaches and CP). Default: CP and the Lisbon operators. lat, lon: find the nearest instead of (or as well as) by name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "transit_find_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| limit | No | ||
| query | No | ||
| operator | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||