Chart Render
chart_renderRender a saved chart by ID as PNG or SVG, and override datasets, labels, title, width, or height to update the visual without recreating the chart.
Instructions
Chart Render. Render a previously saved chart by ID. Public, no API key required. Supports URL overrides for templates (?data1=, ?labels=, ?title=…).
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": {
"id": "<id>"
},
"name": "chart_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The chart ID returned in the X-Chart-Render-URL header when saving a chart. Format: cq-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | |
| data1 | No | Override first dataset values. Comma-separated numbers. Use data2, data3… for additional datasets. | |
| title | No | Override the chart title. | |
| width | No | Override output width in pixels (50–4000). | |
| fields | No | Comma-separated list of fields to keep in the response, with dot notation for nested fields (e.g. name,location.city). Does not change the credit cost. | |
| format | No | Override output format. Allowed values: png, svg. Default: "png". | |
| height | No | Override output height in pixels (50–4000). | |
| labels | No | Override X-axis labels. Comma-separated. |