⚠️ DESTRUCTIVE/SCHEMA CHANGE: Import a JSON file (array of objects) into SQLite. Creates the table from object keys when missing and reports row-level errors.
import_jsonImport an array of JSON objects into a SQLite table. Automatically creates the table from object keys and reports row-level errors for any issues.
Instructions
⚠️ DESTRUCTIVE/SCHEMA CHANGE: Import a JSON file (array of objects) into SQLite. Creates the table from object keys when missing 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_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| fail_fast | No | ||
| file_path | Yes | ||
| batch_size | No | ||
| max_errors | No | ||
| create_table | No | ||
| database_name | No |