csv_to_json
Convert CSV, TSV, semicolon, or pipe-delimited text into structured JSON with bounded row output.
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 | Delimited text, up to 100 KB. | |
| header | No | Use the first row as object keys. Default true. | |
| max_rows | No | Maximum data rows to return. Default 100. | |
| delimiter | No | Delimiter name. Default comma. | |
| l402_proof | No | L402 payment proof "<macaroon>:<preimage>". Omit on the first call; an unpaid call returns a 0 sat Lightning invoice and the macaroon. Pay the invoice, then repeat the call with this argument set. |