icu_update_wellness
Create or update wellness data for a specific date with metrics like weight, HRV, sleep, subjective scales, and more. Lock records to prevent overwrite from device sync.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date in YYYY-MM-DD format | |
| weight | No | Weight in kg | |
| resting_hr | No | Resting heart rate in bpm | |
| hrv | No | HRV (rMSSD) value | |
| sleep_secs | No | Sleep duration in seconds | |
| sleep_quality | No | Sleep quality (1-5 scale) | |
| fatigue | No | Fatigue level (1-5 scale) | |
| soreness | No | Soreness level (1-5 scale) | |
| stress | No | Stress level (1-5 scale) | |
| mood | No | Mood level (1-5 scale) | |
| motivation | No | Motivation level (1-5 scale) | |
| injury | No | Injury severity (1-5 scale: 1=none, 5=severe) | |
| readiness | No | Readiness score (0-100) | |
| body_fat | No | Body fat percentage | |
| abdomen | No | Abdominal circumference in cm | |
| vo2max | No | VO2max (ml/kg/min) — lab result or device estimate | |
| systolic | No | Systolic blood pressure in mmHg | |
| diastolic | No | Diastolic blood pressure in mmHg | |
| spo2 | No | Blood oxygen saturation percentage (SpO2) | |
| respiration | No | Respiration rate in breaths per minute | |
| blood_glucose | No | Blood glucose in mmol/L | |
| lactate | No | Blood lactate in mmol/L — lab result | |
| menstrual_phase | No | Menstrual phase (e.g. FOLLICULAR, OVULATING, LUTEAL, MENSTRUAL) | |
| locked | No | Lock record to prevent device sync from overwriting manual entries | |
| calories_consumed | No | Calories consumed (kcal) | |
| carbohydrates | No | Carbohydrates consumed (grams) | |
| protein | No | Protein consumed (grams) | |
| fat_total | No | Total fat consumed (grams) | |
| hydration_liters | No | Hydration volume (liters) | |
| comments | No | Comments or notes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |