service_details
Get live times and all stops for a specific train service using its service ID, with real-time updates where available.
Instructions
All stops for one train, with live times where available.
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": {
"service_id": "<service_id>"
},
"name": "service_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_id | Yes | A service_id from another tool (darwin:…, tt:… or rtt:…). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| mode | No | train | |
| origin | Yes | ||
| reason | No | ||
| source | Yes | ||
| headcode | No | ||
| operator | No | ||
| cancelled | No | ||
| service_id | Yes | ||
| destination | Yes | ||
| calling_points | Yes |