create_bar_chart
Creates a vertical bar chart in Excalidraw format from labeled values, with auto-scaled bars, value labels, and axis labels. Supports optional title, color theme, and output file path.
Instructions
Create a vertical bar chart.
Generates a bar chart with auto-scaled bars, value labels, and axis labels.
Args: bars: List of bars with label and value title: Optional chart title output_path: Optional output file path theme: Color theme
Returns: Absolute path to the generated .excalidraw file
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": {
"bars": "<bars>"
},
"name": "create_bar_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | ||
| theme | No | light | |
| title | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |