update_wellness
Create or update a signed-in athlete's daily wellness record in Intervals.icu, sending only supplied nutrition, hydration, vitals, sleep, and ratings while preserving omitted fields.
Instructions
Create or update the signed-in athlete's wellness record for a single day.
Writes nutrition, hydration, vitals, sleep, and subjective ratings to
Intervals.icu (PUT /athlete/{id}/wellness/{date}). Only the fields you pass are
sent; anything omitted is left untouched. To CLEAR an existing numeric value,
pass ``-1``. Set ``locked=True`` to stop Intervals.icu from overwriting these
values on its next sync from a connected device or app.
Args:
date: Day to update in YYYY-MM-DD format (optional, defaults to today).
weight: Body weight in kg.
resting_hr: Resting heart rate in bpm.
hrv: Heart rate variability (rMSSD).
sleep_hours: Sleep duration in hours (stored by Intervals.icu as seconds).
Pass -1 to clear.
sleep_quality: Sleep quality rating, as used in the Intervals.icu app.
calories_consumed: Energy intake in kcal.
carbohydrates: Carbohydrate intake in grams.
protein: Protein intake in grams.
fat: Fat intake in grams.
hydration_volume: Fluid intake volume, in your Intervals.icu units.
hydration_score: Subjective hydration score, as used in the app.
soreness: Subjective soreness rating, as used in the Intervals.icu app.
fatigue: Subjective fatigue rating, as used in the Intervals.icu app.
stress: Subjective stress rating, as used in the Intervals.icu app.
mood: Subjective mood rating, as used in the Intervals.icu app.
motivation: Subjective motivation rating, as used in the Intervals.icu app.
injury: Injury level rating, as used in the Intervals.icu app.
comments: Free-text note for the day.
locked: If True, lock the record so device/app syncs won't overwrite it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_wellness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat | No | ||
| hrv | No | ||
| date | No | ||
| mood | No | ||
| injury | No | ||
| locked | No | ||
| stress | No | ||
| weight | No | ||
| fatigue | No | ||
| protein | No | ||
| comments | No | ||
| soreness | No | ||
| motivation | No | ||
| resting_hr | No | ||
| sleep_hours | No | ||
| carbohydrates | No | ||
| sleep_quality | No | ||
| hydration_score | No | ||
| hydration_volume | No | ||
| calories_consumed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |