util_csv_split
CSV split — Split one CSV into many: by= makes one part per distinct value (e.g. one file per region or customer; ignoreCase=true merges East/east), rows= makes chunks of n rows (batch uploads, API limits), parts= makes n roughly equal parts. Each part comes back as ready-to-save CSV with a safe file name, row counts and source row ranges, header repeated by default (header=false to drop it). Auto-detects comma/tab/semicolon/pipe, handles quoted fields, BOM and CRLF, pads ragged rows, maxParts up to 1000. Offline, deterministic. Price: $0.003 USDC (Base, via x402).
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>",
"by": "<by>"
},
"name": "util_csv_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | e.g. region | |
| csv | Yes | e.g. id,region,amount 1,East,100 2,West,90 3,East,50 |