Spss Chart Bar
spss_chart_barCreate a publication-ready bar chart comparing a categorical variable with the mean or sum of a continuous variable, then export it as PNG or TIFF for reports.
Instructions
Export a publication-ready bar chart (PNG/TIFF) of a categorical variable against the mean (or sum) of a continuous variable, via GGRAPH + OMS IMAGE.
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": {
"category": "<category>",
"value": "<value>"
},
"name": "spss_chart_bar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| stat | No | mean | |
| title | No | ||
| value | Yes | ||
| x_label | No | ||
| y_label | No | ||
| category | Yes | ||
| width_px | No | ||
| data_file | No | ||
| height_px | No | ||
| image_format | No | PNG |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |