Data Cleaning & Validation — Get Engine Script (large files)
data_cleaning_get_engineFor files above the data_cleaning cap (over 20,000 rows), or exports already in your code sandbox. Returns a complete numpy-only Python script with the same engine as data_cleaning; it reads the CSV / TSV / JSON files named in the call (rules from JSON or a .txt file, one per line), prints the decision cards, and writes data_cleaning_result.json, clean_rows.csv, change_log.csv and cleaning_profile.json. The input file is never modified. No 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": "data_cleaning_get_engine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Other inputs exactly as data_cleaning takes them (job, field_weights ...). | |
| rows_path | No | rows file in your sandbox (CSV / TSV / JSON). | |
| rules_path | No | rules file in your sandbox (CSV / TSV / JSON; .txt one rule per line). | |
| history_path | No | history file in your sandbox (CSV / TSV / JSON). | |
| target_schema_path | No | target_schema file in your sandbox (CSV / TSV / JSON). | |
| confirmed_fixes_path | No | confirmed_fixes file in your sandbox (CSV / TSV / JSON). | |
| cleaning_profile_path | No | cleaning_profile file in your sandbox (CSV / TSV / JSON). |
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 |