Does a trip fit a time window
check_tripReach: needs a member's key; counts 1 of 50 Reach answers a day. Whether a trip fits between depart and arrive: spare_minutes or short_minutes; by transit, on how many of 7 departures (3 min apart, depart ± 9 min) it fits, and the worst. stop: when to be there; stop_types: the roomiest places to stop at. Next: reach_area or find_meeting_area.
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": "<from>",
"depart": "<depart>",
"arrive": "<arrive>"
},
"name": "check_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End; omit for a round trip. | |
| day | No | Mon–Fri is weekday; no holidays, period or statistic. | weekday |
| from | Yes | Start. | |
| lang | No | en or fr. | en |
| mode | No | Default transit; no bike_transit. | transit |
| stop | No | A place to stop at, and minutes there. | |
| arrive | Yes | HH:MM, at most 300 min after depart. | |
| depart | Yes | HH:MM, 24-hour. | |
| api_key | No | Key from check_sign_in, if this client sends none. | |
| stop_types | No | In place of stop: types to stop at one of. As travel_times' types. | |
| stay_minutes | No | With stop_types: least minutes there. | |
| max_transfers | No | Transit: most changes each way; default 4. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fits | Yes | ||
| meta | Yes | ||
| links | Yes | ||
| summary | Yes | ||
| short_minutes | Yes | ||
| spare_minutes | Yes |