best_route_for_multiple_stops
Plan the most efficient driving route for up to 25 stops, avoiding tolls, highways, or ferries as needed. Optimize stop order while keeping the first and last stops fixed for better trip planning.
Instructions
Finding optimal route to visit several locations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
avoid_ferries | No | Avoid ferries | |
avoid_highways | No | Avoid highways | |
avoid_tolls | No | Avoid tolls | |
optimize | No | Instructs the API to reorder stops to find the optimized route. The route first stop and last stop order is not changed, their position is considered fixed. | |
stops | Yes | List of locations described as semicolon-delimited coordinate pairs with latitudes and longitudes. Maximum 25 pairs per request. |