Pin a chart to the telo home
pin_cardPut a live chart on the user's telo iPhone home. Only when the user asks to pin, save, show or keep something on telo. The card keeps updating with each sync. Styles: trend (line), stat (number and change), bars. Optional: compare_with draws a second metric on the same window; baseline=personal draws the user's usual range; display=pace_km turns running_speed into min/km; goal only when the user stated one; color only when the user asks (cards default to a color per metric category); size=half puts two consecutive half cards side by side (a number and a small trend, details on tap); change_from=usual or year_ago changes what the change line compares with. Always pass the user's question in their words; it is shown on the card.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | ||
| size | No | half: two consecutive half cards share a row, as a number and a small trend line. Default full | |
| color | No | Only when the user asks for a color. Omit to use telo's default for the metric's category | |
| style | No | trend: line chart; stat: number and change; bars: per-day or per-week bars | trend |
| title | No | ||
| metric | Yes | Exact metric name from list_metrics, e.g. vo2_max, running_speed, hrv_sdnn | |
| window | No | 30d | |
| display | No | Only for running_speed or walking_speed: show min:sec per km instead of m/s | |
| baseline | No | Draw the person's usual range: mean ± 1 SD of the 60 days before the last week | |
| position | No | top | |
| question | Yes | The user's question or request that led to this card, in their words | |
| change_from | No | What the card's change line compares today's value with. window_start (default): the first point of the window; usual: the user's own 60-day average ending a week ago; year_ago: the 14 days around the same date last year | |
| compare_with | No | A second metric drawn on the same window, each on its own scale |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes |