csv_to_json
Convert CSV data into a JSON array of objects, handling custom delimiters, header detection, and quoted fields.
Instructions
Convert CSV data to a JSON array of objects. Supports custom delimiters, header detection, and quoted fields.
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 | CSV content as a string | |
| delimiter | No | Column delimiter: comma, semicolon, tab, or pipe (default: comma) | |
| has_headers | No | First row contains column headers (default: true) |