garmin_viz
Generate visual charts from Garmin Connect health and activity data. Supports line, bar, scatter, histogram, pie, heatmap, and multi-line charts to analyze steps, sleep, stress, and more.
Instructions
Render a chart and return the image inline (displayed by Claude Desktop) plus the saved file path.
chart_type: "line", "bar", "scatter", "histogram", "pie", "heatmap", or "multi_line".
Common params (used by most types): x: x-axis values or labels. y: y-axis values (for histogram, pass the data here). title, x_label, y_label: chart labels.
Type-specific params: histogram: bins (default 20). heatmap: matrix (2-D list), x_labels, y_labels. multi_line: y_series (list of y-value lists), series_labels.
Examples: Line: chart_type="line", x=["Mon","Tue",...], y=[8000,9200,...] Bar: chart_type="bar", x=["running","strength"], y=[5,3] Scatter: chart_type="scatter", x=[steps...], y=[sleep_scores...] Histogram: chart_type="histogram", y=[hrv_values...] Pie: chart_type="pie", x=["running","cycling"], y=[120,80] Heatmap: chart_type="heatmap", matrix=[[...],[...]], x_labels=["Mon",...], y_labels=["Wk1",...] Multi-line: chart_type="multi_line", x=[dates...], y_series=[[rhr...],[stress...]], series_labels=["RHR","Stress"]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| bins | No | ||
| title | No | ||
| matrix | No | ||
| x_label | No | ||
| y_label | No | ||
| x_labels | No | ||
| y_labels | No | ||
| y_series | No | ||
| chart_type | Yes | ||
| series_labels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |