Get Train Running Status
railway_train_liveStatusUse this tool when the user wants current running status/location for a known train number. Calls /trains/runningStatus and returns current status and running position details.
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": {
"train_number": "<train_number>"
},
"name": "railway_train_liveStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| journey_date | No | Optional context date; currently ignored by this endpoint. | |
| train_number | Yes | The 5-digit train number to check running status for. This should be a valid Indian railway train number (e.g., '12961', '19167', '12301'). The train number is required and must be exactly 5 digits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| train | Yes | Upstream railway API payload. | |
| message | No | ||
| time_stamp | No | ||
| journey_date | No |