Validate a multi-vehicle route plan
route-optimization_route-plan-validateCheck a manual plan for time-window, capacity, shift, precedence and duplicate/missing-stop violations. Price $0.02 USDC. POST /api/v1/route-optimization/route-plan-validate. An unpaid call returns the x402 payment terms and does not run.
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": {
"stops": "<stops>",
"vehicles": "<vehicles>",
"plan": "<plan>"
},
"name": "route-optimization_route-plan-validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | plan, array. Required. | |
| depot | No | depot, object. Optional. | |
| speed | No | speed, number. Optional. | |
| stops | Yes | stops, array. Required. | |
| matrix | No | matrix, object. Optional. | |
| requests | No | requests, array. Optional. | |
| vehicles | Yes | vehicles, array. Required. | |
| requireAllStops | No | requireAllStops, boolean. Optional. | |
| matrixFromPoints | No | matrixFromPoints, string, one of euclidean, haversine. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | No | valid. Boolean. | |
| missing | No | missing. Array. | |
| sources | No | sources. Array. | |
| duplicates | No | duplicates. Array. | |
| violations | No | violations. Array. | |
| limitations | No | limitations. Array. |