csv_schema
Infer the schema of a CSV file by sampling records, discovering column names, data types, and nullability.
Instructions
Infer the schema of a CSV file by sampling records. Returns column names, types, and nullability.
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": {
"file": "<file>"
},
"name": "csv_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSV file | |
| sampleSize | No | Number of records to sample for inference (default: 1000) | |
| outputFormat | No | Output format (default: inferred) |