Renderizar gráfico
render_chartConvert label and value arrays into a PNG chart (bar, line, pie, or doughnut) using QuickChart, returning the file path.
Instructions
labels[] + values[] → PNG vía QuickChart.
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": {
"labels": "<labels>",
"values": "<values>"
},
"name": "render_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | bar | |
| title | No | ||
| labels | Yes | ||
| values | Yes | ||
| outputPath | No |