Tool to calculate optimal driving routes and trips that visit a set of waypoints. Use when you need to find the best order to visit multiple locations with optimized routing.
stepsbooleanInclude turn-by-turn step instructions.
sourcestringStarting waypoint: 'any' allows any coordinate as start, 'first' uses first coordinate.
profileRequiredstringRouting profile: driving-traffic, driving, walking, or cycling.
bearingsstringSemicolon-separated bearing pairs (angle,degrees) to influence direction. Requires radiuses parameter.
languagestringLanguage for instructions (requires steps=true).
overviewstringLevel of overview geometry detail.
radiusesstringSemicolon-separated snap distances in meters per coordinate, or 'unlimited' for any distance.
roundtripbooleanReturn to starting point (default true). If false, requires source=first and destination=last.
approachesstringSemicolon-separated approach sides for waypoints: 'unrestricted' or 'curb'. Requires steps=true.
geometriesstringFormat of route geometry in response.
annotationsarrayReturn metadata annotations (duration, distance, speed). Requires overview=full.
coordinatesRequiredarrayOrdered list of 2–12 longitude/latitude waypoints for optimization.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.