chart_bar
Generate bar charts to compare variables with statistical aggregations: mean, max, min, sum, count.
Instructions
Generate a bar chart for variable comparison (statistics). Supports mean, max, min, sum, count aggregation.
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": {
"variable_names": "<variable_names>",
"project_id": "<project_id>"
},
"name": "chart_bar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable_names | Yes | Comma-separated variable names | |
| project_id | Yes | Project ID | |
| aggregation | No | mean, max, min, sum, count (default: mean) | |
| time_range | No | Time range (1h, 24h, 7d) | |
| start_date | No | Start date (optional) | |
| end_date | No | End date (optional) | |
| title | No | ||
| y_label | No |