Search Trains By Route and Date
railway_train_searchByRouteDateUse this tool for date-based route search when source, destination, and journey date are known. Calls /trains/searchTrains. Do not use for non-India routes, booking/payment requests, or dates beyond 60 days in the future.
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": {
"from_station": "<from_station>",
"to_station": "<to_station>",
"journey_date": "<journey_date>"
},
"name": "railway_train_searchByRouteDate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_station | Yes | Destination station code. | |
| from_station | Yes | Source station code. | |
| journey_date | Yes | Journey date in DD-MM-YYYY. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Upstream railway API payload. | |
| message | No | ||
| time_stamp | No | ||
| to_station | Yes | ||
| from_station | Yes | ||
| journey_date | Yes | Journey date in DD-MM-YYYY. |