Train price calendar
mb_train_price_calendarBuild a daily train fare calendar for a route and date range, showing only days with free seats so you can choose a travel day based on price.
Instructions
Cheapest train ticket per day (one adult) for a route, only days with free seats.
Then mb_search_trains for the chosen day. Sales open about 18 days ahead.
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>"
},
"name": "mb_train_price_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to cover. | |
| quota | No | Seat quota: general (mixed), men, women, or car transport. | general |
| seats | No | Seats needed. | |
| origin | Yes | Train station id from mb_find_place(mode='train'), e.g. 1 (Tehran). | |
| start_date | No | First day YYYY-MM-DD; default today. | |
| destination | Yes | Train station id from mb_find_place(mode='train'), e.g. 1 (Tehran). |