generate_bar_chart_from_csv
Render a real PNG bar chart from supplied UTF-8 CSV. Select exact category and numeric value columns. At most 50 complete rows, 16 columns and 24 KiB UTF-8; no truncation, duplicate categories, numeric rounding or URL/file fetching. Uses Darwin-hosted AntV with its fixed public free renderer, no API key or payment.
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": {
"csv": "<csv>",
"categoryColumn": "<categoryColumn>",
"valueColumn": "<valueColumn>"
},
"name": "generate_bar_chart_from_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | ||
| style | No | ||
| theme | No | Set the theme for the chart, optional, default is 'default'. | default |
| title | No | ||
| width | No | ||
| height | No | ||
| axisXTitle | No | ||
| axisYTitle | No | ||
| valueColumn | Yes | ||
| categoryColumn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact | Yes | ||
| provenance | Yes | ||
| requestMetadata | Yes |