read_csv
Load a CSV file into a DuckDB table for SQL querying, with an optional custom table name.
Instructions
Read a CSV file into a table.
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": {
"filepath": "<filepath>"
},
"name": "read_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| table_name | No | data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |