olamap_get_route_optimizer
Optimize multi-stop routes by calculating a practical location order, with optional travel mode, round-trip, and start/end points for trip planning.
Instructions
Similar to olamap_optimize_route, but includes more specific optional params like round_trip, mode
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": {
"locations": "<locations>"
},
"name": "olamap_get_route_optimizer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Travel mode (driving, walking, cycling) | driving |
| locations | Yes | Array of location coordinates as ["lat,lng", ...] | |
| roundTrip | No | Return to starting location | |
| endLocation | No | Ending location coordinates "lat,lng" | |
| startLocation | No | Starting location coordinates "lat,lng" |