Skip to content

ChartSpec

ChartSpec = ChartBarSpec | ChartSparklineSpec | ChartRingSpec

Defined in: mcp.ts:186

Embeddable chart specification returned by MCP tool results. When a tool result JSON includes a _chart field matching this shape, the chat feed renders it as an interactive chart card instead of raw JSON.