Import a CSV
tables_importRows from a CSV in the file store: into an existing table (CSV headers matched to column names; unknown headers listed and skipped) or, with new_table, into a new table with a text column per header. Every row is checked first; nothing is added if one is wrong. Costs $0.001 per row imported; nothing if none are found.
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": {
"file_id": "<file_id>"
},
"name": "tables_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | The table's name (or its table_id). | |
| file_id | Yes | ||
| new_table | No |