WebsitePlatform Login

Charts

Create diagrams and visualizations with the built-in chart tool

The built-in Charts tool creates chart visualizations directly in chat using Chart.js.

Current capabilities

The tool currently supports these chart types:

  • bar
  • line
  • pie
  • doughnut
  • scatter
  • bubble
  • radar
  • polarArea

Tool method

  • builtin-create-chart
    • accepts Chart.js-compatible parameters (type, data, optional options)
    • returns a chart URL that can be rendered in assistant responses

Typical use cases

  • KPI visualization from table values
  • trend visualization over time series
  • multi-category comparisons
  • fast in-chat chart generation

Note

When rendering images from mgpt.link, append ?raw=true for reliable chart display.

On this page