show_chart
Generate charts with custom axis labels, legend positioning, stacked series, and multiple overlaid datasets for detailed data visualization.
Instructions
Advanced chart tool with full control over axes, legend, and stacking. Prefer chart_from_json for simple charts — use this only when you need axis labels, legend position, stacking, or multiple overlaid datasets. labels: comma-separated (e.g. 'Jan,Feb,Mar'). datasets: JSON array of {"label":"Name","values":[1,2,3]}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "show_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Chart | |
| labels | No | ||
| stacked | No | ||
| datasets | No | ||
| chart_type | No | bar | |
| x_axis_label | No | ||
| y_axis_label | No | ||
| legend_position | No |