get_train_by_number
Find essential train details by train number, including official name, type, origin, destination, running days, and total distance.
Instructions
Get quick train basic details by train number, including official train name, train type, origin, destination, running days, and total distance.
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_no": "<train_no>"
},
"name": "get_train_by_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| train_no | Yes | The 4-5 digit train number (e.g. "12557"). |