Icu Update Wellness
icu_update_wellnessCreate or update wellness data for one date, sending only the fields you provide and optionally locking the record to prevent device sync overwrites.
Instructions
Upsert wellness data for ONE specific date — creates the record if missing, otherwise updates the fields you pass.
Only provided fields are sent. Subjective scales (fatigue, soreness,
stress, mood, motivation, injury) are 1-5. Pass locked=True to stop
device sync from overwriting manual entries. Writes to the authenticated
athlete unless athlete_id names a managed athlete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hrv | No | HRV (rMSSD) value | |
| date | Yes | Date in YYYY-MM-DD format | |
| mood | No | Mood level (1-5 scale) | |
| spo2 | No | Blood oxygen saturation percentage (SpO2) | |
| injury | No | Injury severity (1-5 scale: 1=none, 5=severe) | |
| locked | No | Lock record to prevent device sync from overwriting manual entries | |
| stress | No | Stress level (1-5 scale) | |
| vo2max | No | VO2max (ml/kg/min) — lab result or device estimate | |
| weight | No | Weight in kg | |
| abdomen | No | Abdominal circumference in cm | |
| fatigue | No | Fatigue level (1-5 scale) | |
| lactate | No | Blood lactate in mmol/L — lab result | |
| protein | No | Protein consumed (grams) | |
| body_fat | No | Body fat percentage | |
| comments | No | Comments or notes | |
| soreness | No | Soreness level (1-5 scale) | |
| systolic | No | Systolic blood pressure in mmHg | |
| diastolic | No | Diastolic blood pressure in mmHg | |
| fat_total | No | Total fat consumed (grams) | |
| hydration | No | Subjective hydration rating (1-4: 1=well hydrated, 4=very dehydrated) | |
| readiness | No | Readiness score (0-100) | |
| athlete_id | No | Athlete ID (for coaches managing multiple athletes) | |
| motivation | No | Motivation level (1-5 scale) | |
| resting_hr | No | Resting heart rate in bpm | |
| sleep_secs | No | Sleep duration in seconds | |
| respiration | No | Respiration rate in breaths per minute | |
| blood_glucose | No | Blood glucose in mmol/L | |
| carbohydrates | No | Carbohydrates consumed (grams) | |
| sleep_quality | No | Sleep quality (1-5 scale) | |
| menstrual_phase | No | Menstrual phase (e.g. FOLLICULAR, OVULATING, LUTEAL, MENSTRUAL) | |
| hydration_liters | No | Hydration volume (liters) | |
| calories_consumed | No | Calories consumed (kcal) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |