Get the stops along an İETT bus line
get_line_stopsRetrieve the stops of an Istanbul İETT bus line in travel order for each direction, so you can check whether a line serves a stop or filter only the direction heading toward a given place.
Instructions
List the stops of an Istanbul İETT bus line in travel order, for each direction. Use it to check whether a line serves a stop, or how many stops lie between two places. Accepts line codes loosely ('78s' finds '78Ş'). Pass 'toward' to get only the direction heading to a place.
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": {
"line": "<line>"
},
"name": "get_line_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line code, e.g. '25G' or '500T' | |
| toward | No | Only return the direction whose final stop matches this, e.g. 'Taksim' |