next_arrivals_tool
Get upcoming bus arrival times for a specific stop by providing the stop ID and optional time horizon to plan your trip effectively.
Instructions
Get next arrivals at a specific stop.
Args: stop_id: The stop ID to query horizon_minutes: How many minutes ahead to look (default 30)
Returns: List of upcoming arrivals with trip ID, route ID, arrival time, and delay
Input Schema
Name | Required | Description | Default |
---|---|---|---|
horizon_minutes | No | ||
stop_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"horizon_minutes": {
"default": 30,
"title": "Horizon Minutes",
"type": "integer"
},
"stop_id": {
"title": "Stop Id",
"type": "string"
}
},
"required": [
"stop_id"
],
"type": "object"
}