Histogram
histogramGenerate and save a frequency distribution chart for a numerical column to visualize its spread and shape.
Instructions
Generate and save a histogram for a numerical column. Args: dataset_id (str): ID of the dataset. column_name (str): Numerical column to visualize. bins (int): Number of histogram bins. Default is 10. Returns: dict: Dataset ID, column name, and saved image filename.
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": {
"dataset_id": "<dataset_id>",
"column_name": "<column_name>"
},
"name": "histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bins | No | ||
| dataset_id | Yes | ||
| column_name | Yes |