plot_bar
Generate bar charts from categorical data arrays using simple flat parameters, supporting vertical or horizontal orientation with customizable dimensions and labels.
Instructions
Render categorical bar chart. Simple flat parameters - no nested objects!
Example: { "categories": ["A", "B", "C"], "values": [10, 20, 15], "title": "Bar Chart", "orientation": "vertical" }
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": {
"params": "<params>"
},
"name": "plot_bar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |