csv_stats
Calculate aggregate statistics for CSV fields, including min/max, mean, median, stdDev for numeric columns and top values for categorical columns.
Instructions
Collect aggregate statistics for fields in a CSV file. Includes min/max, mean, median, stdDev for numeric fields, and top values for categorical fields.
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_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSV file | |
| fields | No | Specific fields to analyze (default: all) | |
| maxRecords | No | Maximum records to analyze (default: all) |