Search bus trips
bus_searchSearch intercity bus trips between two cities on a given date, showing times, companies, prices, free seats, and terminals.
Instructions
List bus trips between two cities on one day: time, company, bus type, price in Toman, free seats, terminals.
One block per provider with the trip count and the price range. Trips with no free seat are left out. The trip id feeds bus_trip.
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": "<origin>",
"destination": "<destination>",
"date": "<date>"
},
"name": "bus_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Travel day: Jalali 1405/08/28 or Gregorian 2026-11-19, or today / tomorrow (Tehran time). | |
| sort | No | Order of the trips. | time |
| limit | No | Trips per provider. | |
| origin | Yes | Origin city, Persian or English, e.g. تهران, Tehran, or a bus_cities code. | |
| provider | No | all, or one ticket site. | all |
| vip_only | No | Only trips whose bus type says VIP. | |
| destination | Yes | Destination city, Persian or English, e.g. اصفهان, Isfahan. |