Planlı GTFS durak kalkışları
istanbul_next_departuresSearch GTFS stop names or return published departures for selected stops.
Use stop_query with limit only to discover stop_id candidates by name,
including Turkish/ASCII spellings (Kadıköy/kadikoy). This mode returns stops,
NOT departures. Same-name stops remain separate; never choose the first
automatically. Approximate spelling suggestions are labeled, not matches.
Ask the user to select a candidate using name/map, then call with stop_id.
stop_code identifies the published stop sign when present. stop_desc and
platform_direction_text preserve source text; they are not inferred route directions.
Missing metadata stays null; districts are not inferred.
at is an ISO datetime with a UTC offset; omitted means now in Europe/Istanbul.
The search covers 24 hours. stop_id and coordinates are mutually exclusive.
line matches the published route short name. Times are scheduled, never live
ETA, delays or proof of service. Outside-calendar queries are unavailable.
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": "istanbul_next_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| lat | No | ||
| lon | No | ||
| line | No | ||
| limit | No | ||
| stop_id | No | ||
| radius_m | No | ||
| stop_query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | No | ||
| error | No | ||
| limits | No | ||
| geojson | No | ||
| sources | No | ||
| summary | Yes | ||
| warnings | No | ||
| freshness | Yes | ||
| pagination | No | ||
| result_info | No | ||
| next_queries | No |