plan_trip
Everything about one drive between any two US places, in one call.
Use this for "how's the drive to X", "how long to get to Y at 5",
"anything on the way to Z". It returns:
- the route (miles, main roads, alternatives) from the closure-aware
planner the CommuteScout map uses: fully closed roads are avoided
and routes are ranked by what is on them;
- drive time for that departure: with traffic, typical for that
weekday and hour, and with no traffic (TomTom historical speed
profiles; live traffic too when leaving within the hour);
- every live event ON the route, ordered by mile: incidents,
closures, chain controls, message signs, cameras (with image URLs),
road-weather stations, tolls, speed and red-light cameras, and
wildfires near it;
- NWS weather alerts along the route and the forecast at the
destination for the arrival hour;
- a one-paragraph `summary` to lead the answer with, and `notes`
for anything missing or degraded.
Lead with `summary`, then the items that change the user's plan.
For WHEN to leave, call best_time_to_go instead. If the answer has
needs_clarification, ask the user which option they meant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | No | An address, landmark or place anywhere in the US, e.g. '1600 Pennsylvania Ave, Washington DC' or 'Pike Place Market'. Include city and state when you have them. 'home', 'work' or a saved place's name use the user's saved places (see get_my_places). Leave origin out to start from the user's Home. | |
| depart_at | No | When the user leaves, in the origin's local time: 'now' (default), 'tomorrow 8am', '17:30', 'friday 7:15am' or ISO '2026-11-02T08:00'. | |
| preference | No | Route preference. | fastest |
| destination | No | An address, landmark or place anywhere in the US, e.g. '1600 Pennsylvania Ave, Washington DC' or 'Pike Place Market'. Include city and state when you have them. 'home', 'work' or a saved place's name use the user's saved places (see get_my_places). Leave origin out to start from the user's Home. | |
| origin_coords | No | Exact 'lat,lon' instead of a place name, e.g. '47.6097,-122.3421'. Wins over the place name. | |
| destination_coords | No | Exact 'lat,lon' instead of a place name, e.g. '47.6097,-122.3421'. Wins over the place name. |