search_intercity
Search SAR intercity trains on East and North lines with fares. Input origin, destination, and date to retrieve departure/arrival times, duration, stops, and Economy/Business prices.
Instructions
Search SAR intercity trains (East + North lines) WITH fares on a date.
Covers the non-Haramain network: the East line (Riyadh <-> Abqaiq, Hofuf,
Dammam) and the North line (Riyadh <-> Majmaah, Qassim, Hail, Al-Jouf,
Qurayyat). Use this instead of search_trains for any route NOT on the
Makkah-Madinah Haramain line.
Args: from_station: Origin name or code (e.g. "Riyadh", "RYD", "Dammam"). to_station: Destination name or code (e.g. "Dammam", "DMM", "Hofuf"). date: Travel date, ISO format YYYY-MM-DD.
Returns each train with departure/arrival time, duration, stops, and Economy + Business fares in SAR. Rendered from the public booking results page via a headless browser (~5-10s). An empty list means SAR is not selling that route on that date (the North line currently shows no bookable service; the East line runs daily).
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>",
"date": "<date>"
},
"name": "search_intercity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| to_station | Yes | ||
| from_station | Yes |