plan_routes
Plan fleet routes for a date with capacity and time-window constraints, returning per-vehicle stop sequences, ETAs, distances, and durations. Identifies unassigned deliveries with reasons and saves the plan for editing.
Instructions
Plan routes for the fleet on a date (CVRPTW). Returns per-vehicle stop sequence, ETA, distance and duration, plus deliveries that could not be assigned and why. Persists the plan so it can be inspected and edited.
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": {
"date": "<date>"
},
"name": "plan_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| objective | No | distance | |
| vehicle_ids | No | ||
| traffic_factor | No | travel-time multiplier (>=1) |