Route Optimizer — Get Engine Script (large days)
route_optimizer_get_engineFor more than 300 stops, or any order/stop file already in your code sandbox. Returns a complete numpy-only Python script with the same engine as route_optimizer; it reads the stop (and optional vehicle / item / worker / job) files, prints the decision cards and a line per vehicle, and writes the full plan to route_plan.json (and route_plan.geojson). Pass depot, time_limit_seconds and other inputs in params. No stop data reaches this server on this path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "route_optimizer_get_engine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Other inputs exactly as route_optimizer takes them (depot, time_limit_seconds, cost_per_km, road_factor ...). | |
| jobs_path | No | Optional jobs file for assignment. | |
| items_path | No | Optional items file for load packing. | |
| stops_path | No | Stops/orders file in your sandbox (CSV/TSV/JSON). | |
| workers_path | No | Optional workers file for assignment. | |
| vehicles_path | No | Optional vehicles file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| paths | No | ||
| script | Yes | ||
| language | No | ||
| requires | No | ||
| instructions | Yes | ||
| writes_files | No | ||
| engine_version | Yes | ||
| scipy_required | No | ||
| data_requirements | No | ||
| network_access_required | No |