CSV Preflight Check
csv_preflightCSV preflight: validate a CSV before import and find every load error first. Detects the delimiter, line endings, BOM and encoding damage, header problems (blank or duplicate names), rows with the wrong field count (with line numbers), unterminated quotes, duplicate rows, and per-column type, empty rate and mixed or ambiguous values. Returns ready true/false plus every issue. POST JSON {csv}, up to 1.5 MB. Price: $0.005 USDC per call (x402). Free sample: call free_sample with tool="csv_preflight".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "csv_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | The CSV text (up to 1.5 MB) | |
| delimiter | No | Optional: ',', ';', 'tab' or '|' (detected if omitted) | |
| has_header | No | Optional: whether row 1 is a header (detected if omitted) |