Train price calendar
mb_train_price_calendarFind the minimum daily train ticket price for a route with free seats to identify the next bookable travel day.
Instructions
Cheapest train ticket per day (one adult) for a route, only days with free seats.
Use to find the cheapest or the next bookable day, then mb_search_trains for that day. Train sales open only about 18 days ahead, so later days are missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to cover. | |
| quota | No | Seat quota: general (families, mixed), men only, women only, or car transport. | general |
| seats | No | Seats needed; days without that many free seats are left out. | |
| origin | Yes | Train station id from mb_find_place(mode='train'), e.g. 1 (Tehran) or 191 (Mashhad). | |
| start_date | No | First day YYYY-MM-DD, e.g. '2026-10-10'; default today. | |
| destination | Yes | Train station id from mb_find_place(mode='train'), e.g. 1 (Tehran) or 191 (Mashhad). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||