CSV to SQL converter
csv_to_sqlTurn CSV/TSV rows into SQL INSERT statements with standard double-quoted identifiers and escaped values. Runs on smart-tools.xyz.
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": {
"text": "<text>"
},
"name": "csv_to_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | CSV/TSV text to convert | |
| nulls | No | Emit NULL for empty cells (default true) | |
| locale | No | Language for the source_url link (default en) | |
| quote_all | No | Quote every value, even numeric ones (default false) | |
| batch_size | No | Rows per INSERT statement (default 50) | |
| has_header | No | Use the first row as column names (default true); if false, columns are named col1, col2, … | |
| table_name | No | Target table name (default my_table) |