Collections Optimizer — Get Engine Script (large books)
collections_optimizer_get_engineFor books over 5,000 accounts or 20,000 rows of history, contact log or snapshots, or any such file already in your code sandbox. Returns a complete numpy-only Python script with the same engine as collections_optimizer; it reads accounts, history, contact log, snapshots, agents and test results, prints the decision cards, the queue and the do-not-contact list, and writes everything to collections_plan.json. No debtor 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": "collections_optimizer_get_engine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Other inputs exactly as collections_optimizer takes them (jurisdiction, as_of, policy ...). | |
| agents_path | No | Optional agents file. | |
| history_path | No | Past accounts with paid / contacted outcomes. | |
| accounts_path | No | Today's overdue accounts file (CSV/TSV/JSON). | |
| snapshots_path | No | Optional monthly snapshots file. | |
| contact_log_path | No | Optional contact attempts file. | |
| test_results_path | No | Optional champion-challenger outcomes file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| paths | No | ||
| script | Yes | ||
| language | No | ||
| requires | No | ||
| writes_file | No | ||
| instructions | Yes | ||
| engine_version | Yes | ||
| scipy_required | No | ||
| data_requirements | No | ||
| network_access_required | No |