Plan a driver's departure
plan_vehicle_departureA driver is leaving the depot now with these orders: find the best visiting sequence and each order's ETA.
The orders must fit the vehicle's capacity. To decide which orders a driver should take, use plan_deliveries instead. Nothing is stored or sent to the driver.
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": {
"vehicle": "<vehicle>",
"orders": "<orders>"
},
"name": "plan_vehicle_departure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depot | No | Where the vehicles start from. Omit only if your API key is bound to a depot, in which case the server supplies it. | |
| orders | Yes | The orders this driver is taking out. | |
| vehicle | Yes | The vehicle (driver) leaving now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stops | Yes | In visiting order | |
| notice | No | Account notice to pass on to the user, e.g. a trial ending soon | |
| depart_at | Yes | ||
| return_at | Yes | ||
| vehicle_id | Yes |