resolve_train
Resolve a TRAIN NUMBER to its route, stations and scheduled times via the official SNCF API (covers TGV inOui/Ouigo, TER, Intercités, TGV Lyria, Eurostar and international TGVs — everything serving a French station). Use whenever a customer books a station pickup/drop-off or a station Meet & Greet and gives a train number, to verify the departure/arrival time. A train number is DIGITS ONLY (TGV 6503, Lyria 9211, Eurostar 9031); a 6-char code like 'JWVLHH' is a ticket PNR and a long ref like 'W209656898' is an agency booking reference — those cannot be looked up here: extract route + time from the customer's confirmation instead.
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>",
"date": "<date>"
},
"name": "resolve_train"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Travel date in YYYY-MM-DD. | |
| train_number | Yes | Train number, digits only or with prefix: '9211', 'TGV 6503', 'Eurostar 9031'. Server normalizes. |