render_chart
Render a Chart.js configuration to a PNG image using quickchart.io. Returns the file path in /tmp for immediate use.
Instructions
Render a Chart.js config as PNG via quickchart.io. Returns /tmp path. No approval needed.
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": {
"config": "<config>"
},
"name": "render_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| config | Yes | ||
| height | No | ||
| background_color | No | white |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |