Render a chart
render_chartDraw a chart as a PNG image, with its numbers as text beside it. Either a named chart of a project (report.assistants.mentionRate / citationRate / visibility — one line per assistant over 10 weeks; report.competitors — this week vs last per brand; report.changes — assistants that started/stopped naming; trends.rates / promptCoverage / visibility — the site week by week; trends.wonLost; competitors.trend — you vs top rivals over time; competitors.headToHead; competitor.trend — needs competitorId), or a custom chart from your own data (type line|bar, labels, series with points).
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": "render_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dark | No | Draw on a dark background. | |
| week | No | A past week for report.* charts, as the date of its Monday (YYYY-MM-DD). | |
| chart | No | A named chart of the project; see the description for the list. | |
| title | No | A title drawn above the chart. | |
| width | No | Width in pixels. Default 900. | |
| custom | No | Your own data instead of a named chart: type, labels and series of points. | |
| height | No | Height in pixels. Default fits the chart. | |
| projectId | No | The project id, from list_projects. | |
| competitorId | No | The competitor id (list_competitors); needed for competitor.trend. |