evaluate_insertion
Evaluate inserting a delivery into active routes for a date, returning marginal cost, best position, and capacity/time-window violations for existing or new deliveries.
Instructions
Marginal cost (km and minutes) of inserting a delivery into each active route for a date, the best position, and whether it violates capacity or time windows. Provide either delivery_id (existing) or a new_delivery object.
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": "evaluate_insertion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| delivery_id | No | ||
| new_delivery | No |