create_histogram
Generate histograms from numeric data with customizable bins, titles, labels, color palettes, and cumulative distribution options, outputting as SVG or PNG.
Instructions
Create a histogram.
Args: values: Numeric data points bins: Number of bins (default: 10) title: Chart title xlabel: X-axis label ylabel: Y-axis label palette: Color palette: default, vibrant, pastel, monochrome cumulative: Show cumulative distribution output: 'svg' for inline SVG, 'png' for file path
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": {
"values": "<values>"
},
"name": "create_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| bins | No | ||
| title | No | Histogram | |
| xlabel | No | ||
| ylabel | No | Frequency | |
| palette | No | default | |
| cumulative | No | ||
| output | No | svg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |