optimize_route
Calculate the most efficient travel order for multiple locations to minimize distance or time using OpenStreetMap routing data.
Instructions
Solve Traveling Salesman Problem to find optimal route through all points
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coordinates | Yes | Array of [longitude, latitude] coordinates to visit | |
| profile | No | Routing profile (default: driving) | |
| roundtrip | No | Return to starting point (default: false) | |
| source | No | Source coordinate constraint | |
| destination | No | Destination coordinate constraint | |
| steps | No | Include turn-by-turn instructions (default: true) |