plot_histogram
Visualize a column’s distribution as a histogram with n, mean, and standard deviation on the plot. Use file path or inline data to inspect spread, central tendency, and outliers.
Instructions
plot_histogram —— 可视化组 · 直方图(工具 22,核心实现)。
单列分布直方图,图上标 n/mean/std;分箱 = min(40, max(8, ceil(sqrt(n))))。 inline 数据: 本工具支持可选 inline_data 参数(v1.2.0 起):与 file_path 二选一, 支持 records 数组或 {"header": [...], "rows": [[...], ...]} 对象两种形态; 规模上限/类型域/data_source 来源标注见 statlab_mcp/docs/SPEC.md 第 12 节。
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": "plot_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | No | ||
| file_path | No | ||
| inline_data | No |