⚠️ DESTRUCTIVE/SCHEMA CHANGE: Import a headered CSV file into SQLite. Creates the table from headers when missing, coerces values by default, and reports row-level errors.
import_csvImport a headered CSV file into SQLite, automatically creating the table from column headers when missing and coercing data types. Reports row-level errors for data mismatches.
Instructions
⚠️ DESTRUCTIVE/SCHEMA CHANGE: Import a headered CSV file into SQLite. Creates the table from headers when missing, coerces values by default, and reports row-level errors.
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": {
"table": "<table>",
"file_path": "<file_path>"
},
"name": "import_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | No | ||
| table | Yes | ||
| escape | No | ||
| encoding | No | utf8 | |
| delimiter | No | ||
| fail_fast | No | ||
| file_path | Yes | ||
| batch_size | No | ||
| max_errors | No | ||
| coerce_types | No | ||
| create_table | No | ||
| database_name | No |