render_chart
Create charts from tabular data for visualization, with options for line, bar, pie, scatter plots and more. Supports data analysis suggestions and multiple output formats including PNG, SVG, and Mermaid diagrams.
Instructions
    Render a chart from tabular data and return MCP-compatible content.
    
    Special modes:
    - chart_type="help": Returns available chart types, themes, and field suggestions
    - chart_type="suggest": Analyzes your data and suggests field mappings (requires data)
    Parameters:
    - chart_type: chart type ("line", "bar", "pie", etc.) or "help"/"suggest"
    - data: list of objects (rows) - optional for help mode
    - field_map: keys like x_field, y_field, category_field, value_field, group_field, size_field
    - config_overrides: subset of ChartConfig as dict (width, height, title, theme, dpi, etc.)
    - options: generator-specific options (e.g., smooth, stack)
    - output_format: MCP_IMAGE (PNG), MCP_TEXT (SVG), or MERMAID
    
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| chart_type | Yes | ||
| config_overrides | No | ||
| data | No | ||
| field_map | No | ||
| options | No | ||
| output_format | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "chart_type": {
      "title": "Chart Type",
      "type": "string"
    },
    "config_overrides": {
      "additionalProperties": true,
      "default": null,
      "title": "Config Overrides",
      "type": "object"
    },
    "data": {
      "default": null,
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Data",
      "type": "array"
    },
    "field_map": {
      "additionalProperties": {
        "type": "string"
      },
      "default": null,
      "title": "Field Map",
      "type": "object"
    },
    "options": {
      "additionalProperties": true,
      "default": null,
      "title": "Options",
      "type": "object"
    },
    "output_format": {
      "default": null,
      "title": "Output Format",
      "type": "string"
    }
  },
  "required": [
    "chart_type"
  ],
  "type": "object"
}