next_train
Next listed eligible cached train from one catalogue station to another, terminating or calling there, with where it stops. No journey planning or completeness guarantee.
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": "<from>",
"to": "<to>"
},
"name": "next_train"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Supported station CRS, slug or catalogue name. Call list_stations for the finite catalogue. | |
| from | Yes | Supported station CRS, slug or catalogue name. Call list_stations for the finite catalogue. |