optimize_route
Ranked routes with cost_breakdown and explanation (shortest is not always best).
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "optimize_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| profile | No | safest | |
| waypoints | No | ||
| priorities | No | ||
| destination | Yes | ||
| vehicle_class | No | car | |
| departure_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||