plan_route
Orders a day's in-person meetings to cut driving and fuel costs, preserving fixed start times and inserting flexible visits where they add the fewest miles.
Instructions
Order a day's in-person meetings to save driving and gas.
stops: [{"name", "address" (or "lat,lng"), "start" (ISO 8601 with time zone; omit for a flexible visit), "minutes"}]. Meetings with a start time keep it; flexible visits are fitted where they add the fewest miles. start defaults to the rep's base (CALLSHEET_BASE_ADDRESS). Returns the order, leave-by times, miles, gallons, fuel cost (live local price when a Google key is set) and savings vs the given order. Business locations only, never a person's home. Video-call stops are skipped.
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": {
"stops": "<stops>"
},
"name": "plan_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| stops | Yes | ||
| return_to_start | No | ||
| price_per_gallon | No |