CSV to JSON
csv_to_jsonConvert CSV data to typed JSON with automatic delimiter detection, header parsing, and value type casting for processing spreadsheet exports.
Instructions
Convert CSV data to typed JSON. Auto-detects delimiters, uses the first row as headers, and casts values to proper types (numbers, booleans, nulls). Use when processing spreadsheet exports or any CSV-formatted data.
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": {
"csv": "<csv>"
},
"name": "csv_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | The CSV content to convert | |
| delimiter | No | Column delimiter | auto |
| hasHeader | No | Whether the first row contains column names | |
| typeCast | No | Auto-convert values to proper types | |
| limit | No | Max rows to return |