CSV Schema Check
csv_schema_checkCheck CSV text against a column schema before it is loaded anywhere. Send the CSV (header row first, up to 20,000 characters) and, per column, its type (text, integer, decimal, date, boolean), whether it is required, and optional limits: min and max, length, a shape such as AAA-9999, or a list of allowed values; plus up to 3 columns that together must be a unique key. Get back every bad cell by line and column with what was expected, header problems (missing, duplicate or extra columns), rows with the wrong number of fields, CSV syntax errors with their line, and counts per problem. Data cell values are never echoed back; column names are. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/csv-schema-check). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.
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>",
"columns": "<columns>"
},
"name": "csv_schema_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | The CSV text, header row first (RFC 4180; line breaks CRLF, LF or CR), up to 20,000 characters. Do not send personal data (names of people, emails, phone, Social Security, card or account numbers): columns named for it and cells shaped like it are refused, but names in cells cannot be detected. | |
| columns | Yes | The schema: one entry per column to check (up to 50). | |
| delimiter | No | Field separator: comma (default, RFC 4180), semicolon, tab or pipe. | comma |
| unique_key | No | Up to 3 column names (from columns) whose values together must be present and unique on every row. | |
| allow_extra_columns | No | false: a header column that is not in the schema is a problem. Default true (extra columns are only listed). |