A route of Tbilisi and its stops
transit_get_routeReturns a route of the TTC with each direction: its headsign and its stops in order.
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": {
"route": "<route>"
},
"name": "transit_get_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | The kind, when two routes share the number: bus, minibus, metro, or cable_car. | |
| route | Yes | The route number (385) or the route id. | |
| language | No | The language of the names: ka or en. The default is en. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | The instant at which the server read the route, RFC 3339. | |
| route | Yes | The route. | |
| stale | Yes | True when the TTC did not answer and the server returns a route it read before. | |
| source | Yes | The source of the data: TTC. | |
| directions | Yes | Each direction of the route. A loop has one. |