Validate a CSV before importing it
validate_csvCheck a CSV against your explicit schema; return all issue counts and at most 200 detailed findings. Headers match exactly; required=false permits empty cells, not missing headers. Unique compares raw non-empty strings. Dates use YYYY-MM-DD, decimals use a dot without grouping, booleans use true/false. A valid=false report is a completed paid operation, not a tool failure. No values are changed; use clean_csv for explicit transformations. Validity covers only the supplied rules, not destination-system or business correctness.
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_text": "<csv_text>",
"schema": "<schema>"
},
"name": "validate_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | ||
| csv_text | Yes | CSV text including header. UTF-8, at most 1 MB; no file paths or URLs. | |
| delimiter | No | , | |
| request_id | No | Optional 8–128 character retry key. Reuse only for identical arguments; changed data requires a new key. |