CSV/TSV to JSON with delimiter, header and type detection ($0.002/call)
csv_parse$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Parses CSV or TSV text into JSON rows (objects or arrays). Detects the delimiter (comma, semicolon, tab, pipe), the header row and quoting (RFC 4180: quoted commas, doubled quotes, newlines in quotes), infers column types and flags formula-injection cells (= + - @). Input: csv (POST for long text), optional delimiter, header, output, types, quote, max_rows. Limits: 1,000,000 characters, 50,000 rows, 500 columns. Offline.
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_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | CSV or TSV text, up to 1,000,000 characters (POST JSON {"csv": "..."} for long text) | |
| quote | No | Quote character: double (default), single or none | double |
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. | |
| types | No | Infer column types and convert numbers and booleans (default yes); no keeps every cell as text | yes |
| header | No | Is the first row a header? auto (default, detected), yes or no | auto |
| output | No | Rows as objects keyed by column name (default) or as arrays | objects |
| max_rows | No | Rows returned, 1-5000 (default 1000); column stats still cover every parsed row | 1000 |
| delimiter | No | Field separator: auto (default, detected), comma, semicolon, tab or pipe | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| tool | No | ||
| cache | No | ||
| _trial | No | Present when the call was a free trial call. | |
| header | No | ||
| output | No | ||
| columns | No | ||
| provider | No | ||
| warnings | No | ||
| delimiter | No | ||
| price_usd | No | ||
| row_count | No | ||
| truncated | No | ||
| column_count | No | ||
| formula_cells | No | ||
| rows_returned | No | ||
| delimiter_detected | No | ||
| header_detected_by | No |