chart
Generate ASCII art charts from data: progress bars, sparkline trends, and 2D heatmaps. Display statistics directly in terminal or chat.
Instructions
Render data as ASCII charts. Types: progress (bar), sparkline (trend), heatmap (2D grid).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>"
},
"name": "chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Chart type | |
| percent | No | Progress: completion % (0-100) | |
| items | No | Progress: multiple labeled bars | |
| values | No | Sparkline: numeric values to chart | |
| data | No | Heatmap: 2D array of numeric values | |
| rowLabels | No | Heatmap: row labels | |
| colLabels | No | Heatmap: column labels | |
| width | No | Width in characters | |
| style | No | Visual style (varies by type) | default |
| label | No | Progress: label for single bar |