obilet_search_bus_journeys
Search bus journeys for a route and date, compare departure times, durations, and TRY prices, and sort results by price, departure, or duration.
Instructions
Bus journeys for one route + date. origin_id / destination_id: bus location ids from obilet_search_locations (e.g. İstanbul Avrupa 349 -> Ankara 356). date: YYYY-MM-DD (e.g. "2026-11-07"). sort: "price_asc" (cheapest first, default), "departure" (earliest first), "duration" (shortest first). limit 1..24. Returns journey id, partner, bus type, seats, origin/destination stations, departure/arrival, duration, price in TRY, partner rating (0-10) and stops per journey, plus the total count for the route.
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": {
"origin_id": "<origin_id>",
"destination_id": "<destination_id>",
"date": "<date>"
},
"name": "obilet_search_bus_journeys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| sort | No | price_asc | |
| limit | No | ||
| origin_id | Yes | ||
| destination_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |