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. Sleep is pinnable too, in hours per night: sleep_asleep (time asleep), sleep_in_bed, sleep_deep, sleep_core, sleep_rem, sleep_awake; nights without watch stages have no deep, core or REM value. sleep_heart_rate is the average heart rate during each night, in bpm, apart from resting_heart_rate and heart_rate. 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, display=km shows a distance_* metric in kilometers; 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.
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": {
"metric": "<metric>",
"question": "<question>"
},
"name": "pin_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. Sleep, in hours per night: sleep_asleep, sleep_in_bed, sleep_deep, sleep_core, sleep_rem, sleep_awake; average heart rate while asleep, per night: sleep_heart_rate | |
| window | No | 30d | |
| display | No | pace_km: only for running_speed or walking_speed, min:sec per km instead of m/s. km: only for distance_* metrics, kilometers instead of meters | |
| 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 |