Даты продажи ЖД
train_calendarRetrieve dates with open ticket sales for a train route between two stations. Validate station codes, as an invalid pair returns an empty response.
Instructions
Даты, на которые открыта продажа по направлению.
Заодно дешёвая проверка пары кодов станций: на неверной паре ответ пуст.
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": "train_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| origin | Yes | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |