tool_get_train_by_id
Retrieve detailed route information and station stops for a specific Polish train using its Koleo ID to track journeys and plan connections.
Instructions
Get a train's route and stops by its internal Koleo ID.
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_id": "<train_id>"
},
"name": "tool_get_train_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| train_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |