get_next_departures
Retrieve upcoming real-time departures for an Île-de-France transit stop, optionally filtered by line or destination, with theoretical schedules clearly labeled when realtime is unavailable.
Instructions
Get next departures. A verified STIF SIRI MonitoringRef queries realtime. Navitia IDs use verified source codes to resolve SIRI refs. timetable=auto tries realtime then explicitly labels theoretical fallback; realtime never silently falls back. Direction filters match destination text.
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": {
"stop_id": "<stop_id>"
},
"name": "get_next_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| line_id | No | ||
| stop_id | Yes | ||
| direction | No | ||
| timetable | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| source | No | Île-de-France Mobilités — PRIM | |
| status | No | ok | |
| timezone | No | Europe/Paris | |
| warnings | No | ||
| source_url | No | https://prim.iledefrance-mobilites.fr/ | |
| retrieved_at | No | ||
| data_licence_url | No | https://cloud.fabmob.io/s/eYWWJBdM3fQiFNm | |
| data_licence_note | No | PRIM product terms apply. The SIRI catalogue also references ODbL; see product metadata before redistribution. |