transit_vehicles
Where the buses (and Lisbon trams) are right now: live positions reported by the vehicles.
Args: operator: "stcp" (Porto buses), "smtuc" (Coimbra buses) or "carris" (Lisbon buses and trams). City names work too: "porto", "coimbra", "lisboa". line: keep one line, e.g. "500", "205", "28E", "103". lat, lon: keep the vehicles near this point (within radius_km), closest first. For Greater-Lisbon buses use bus_vehicle_positions / bus_next_arrivals (Carris Metropolitana).
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": {
"operator": "<operator>"
},
"name": "transit_vehicles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| line | No | ||
| limit | No | ||
| operator | Yes | ||
| radius_km | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||