Tools / chart.render
Chart renderer
chart.render
Bar, line or pie chart from up to 24 labelled values, returned as a PNG.
MediaLaunch set2 units per call24 h cacheMCP: chart_renderv1.0.0
When to use it
Use to turn numbers into a shareable chart image, for example a report figure or a quick visual of a comparison. Up to 24 points; for larger data summarise first.
Input
| Field | Type | Description |
|---|---|---|
kind | one of bar, line, pie | Default: "bar". |
labels * | array of string (≤ 60 chars) | |
values * | array of number | |
title | string (≤ 120 chars) | Default: "". |
* required
Output
Returns data with: content_type, bytes, data_base64.
Request
curl -X POST https://agentops.tools/v1/chart.render \
-H 'content-type: application/json' \
-d '{"kind":"bar","labels":["Q1","Q2","Q3"],"values":[3,7,5],"title":"Sales"}'Over MCP the tool is named chart_render. Over A2A its skill id is chart.render. Same input, same envelope.