analyze_table
Analyze CSV/XLSX tables locally to compute summary statistics, missing values, duplicates, top categories, and correlations, then generate a Markdown insights report and optional Excel charts.
Instructions
Analyze a CSV/XLSX table fully locally: infer numeric/categorical columns, compute shape, missing rate, duplicates, min/max/mean/median/sum/ stddev, top frequencies for text columns and pairwise correlations (|r|>=0.5), and return a Chinese Markdown insights report. Optionally a base64 Excel workbook with native interactive bar charts.
Args: file_base64: raw CSV/XLSX content as base64 (preferred). file_url: direct HTTPS URL to a .csv/.xlsx (alternative). filename: original filename (used only to decide csv vs xlsx). charts: max category columns to chart in the xlsx workbook. return_xlsx: when true, include the generated workbook as base64. api_key: paid key to bypass the anonymous monthly quota.
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": "analyze_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charts | No | ||
| api_key | No | ||
| file_url | No | ||
| filename | No | upload.csv | |
| file_base64 | No | ||
| return_xlsx | No |