Create chart card
create_chart_cardCreate an interactive SVG bar, line, pie, or donut chart card with a legend and collapsible data table to summarize referenced data.
Instructions
Render a dynamically generated SVG chart card (bar, line, pie, or donut) with a legend and a collapsible data table. Use for useful graphics summarizing referenced data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| title | Yes | ||
| labels | No | X-axis labels (bar/line) | |
| series | No | Data series (bar/line) | |
| values | No | Slices (pie/donut) | |
| yLabel | No | ||
| subtitle | No | ||
| tutorTerms | No | Educational tutor terms. Occurrences in the card are underlined; hovering ~1.2s shows the tip and notifies the host so the model can follow up. | |
| description | No | ||
| contextActions | No | Right-click menu actions the model anticipates being useful. Choosing one sends its prompt to the conversation; use {{selection}} to include the user's selected text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes |