get_next_train
Find when the next train bound for a destination will arrive at an origin station using station names or GPS coordinates.
Instructions
Find out when the next train bound for a destination will arrive at the origin station. You can provide either station names OR gps coordinates (lat/lon) for origin and destination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_next_train"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_lat | No | ||
| dest_lon | No | ||
| origin_lat | No | ||
| origin_lon | No | ||
| dest_station_name | No | ||
| origin_station_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |