chart_render
Chart.js configuration (plain JSON — type, data, options; no callbacks, JSON.parse can't execute code) rendered to PNG or SVG. Each call spawns its own Node process, no server state kept between calls. Cost €0.002 per chart, charged to the API key in Authorization: Bearer. Parameters — config: Chart.js configuration object (JSON): {type, data, options, ...}; format: png | svg (default png); width: int 100–4000 (default 800); height: int 100–4000 (default 600); background: #rrggbb or 'transparent' — canvas fill behind the chart (default #ffffff).
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": "chart_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| config | No | ||
| format | No | ||
| height | No | ||
| background | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |