Procurement — Get Engine Script (large files)
procurement_get_engineFor delivery histories over 1,000 rows or spend files over 500 items that are already in your code sandbox. Returns a complete, runnable numpy-only Python script with the same engine as procurement_supplier_selection; it reads the file(s), runs the full analysis, prints the decision cards and writes procurement_result.json. Pass the small inputs (criteria, pairwise_comparisons, suppliers, price_breaks ...) in params; they are baked into the script. No supplier 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": "procurement_get_engine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | All other inputs exactly as procurement_supplier_selection takes them (criteria, pairwise_comparisons, suppliers, price_breaks, annual_demand, order_cost, currency, item_name, ...). | |
| spend_items_path | No | Path to the spend file in your sandbox. | |
| delivery_history_path | No | Path to the delivery/GRN file (CSV/TSV/JSON) in your sandbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| script | Yes | ||
| language | No | ||
| requires | No | ||
| writes_file | No | ||
| instructions | Yes | ||
| engine_version | Yes | ||
| scipy_required | No | ||
| spend_items_path | No | ||
| data_requirements | No | ||
| delivery_history_path | No | ||
| network_access_required | No |