Find the time to leave
find_time_to_leaveUse this when the person must be across a border by a time and asks when to get in line. through_by is a time in their words (16:00, 4 pm tomorrow). Not for the wait now: use get_border_wait. Answers the latest time to join the line to be through by the time given, at today's pace and the usual for those hours, with how sure it is; in the crossing's time zone.
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": {
"crossing": "<crossing>",
"through_by": "<through_by>"
},
"name": "find_time_to_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lane | No | cars (the default), trucks, coaches, walking, NEXUS, SENTRI, Ready Lane, FAST | |
| crossing | Yes | a crossing's or airport's id as search_border_crossings shows it, or its name (Medyka, San Ysidro, Peace Bridge) | |
| direction | No | the country the lane goes into: Poland, Ukraine, the United States | |
| through_by | Yes | a time in the person's words: 16:00, 4 pm tomorrow, Saturday 9:00 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | Yes | ||
| join_by | Yes | ||
| crossing | Yes | ||
| through_by | Yes |