plan_trip
Plan a future transit trip using scheduled GTFS timetables by specifying origin, destination, and date/time, with depart-after or arrive-by options.
Instructions
Plan a transit trip in the future using the scheduled GTFS timetable.
origin_station_name: e.g. "Metro Center"
dest_station_name: e.g. "Shady Grove"
date_time_str: Human-readable date and time (e.g. "tomorrow at 8am", "2024-05-15 10:00")
query_type: 'depart_at' (leave after this time) or 'arrive_by' (reach destination before this time)
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": {
"origin_station_name": "<origin_station_name>",
"dest_station_name": "<dest_station_name>",
"date_time_str": "<date_time_str>"
},
"name": "plan_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_type | No | depart_at | |
| date_time_str | Yes | ||
| dest_station_name | Yes | ||
| origin_station_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |