log_wearable
Log daily wearable/manual health metrics: RHR, HRV, Zone Minutes / AZM, VO2max, calories eaten / dietary energy, stress, supplemental steps, and physiological vitals (SpO₂, respiratory rate, skin temperature, blood pressure, blood glucose, core temperature).
VITALS: the vital fields take manual/home/device readings and corrections, including a finger-stick, CGM, home glucose meter, or a wearable/Apple Health/Health Connect value the user explicitly wants stored manually. A glucose value from an actual lab report or blood draw belongs in log_lab_results instead, not here.
STEPS: step_count is ADDITIVE: it adds on top of whatever a connected wearable (Fitbit, Oura, Apple Health, Health Connect) recorded that day; it never replaces or overrides device data. Use it only when the user explicitly says they walked steps their device did NOT capture (phone left home, battery died, device not worn). User says sync is wrong, steps look doubled, or wants to fix/override/replace device data -> do NOT pass step_count; explain that manual steps add on top and sync issues need investigating at the device level.
ALL OTHER FIELDS (RHR, HRV, AZM, VO2max, stress, vitals) replace the existing manual value for that day; safe for corrections.
SLEEP ADDITIONS: only when the user EXPLICITLY asks to add missing sleep periods to an EXISTING record: sleep_periods plus add_to_existing_sleep_record: true. Each start/end: local HH:MM or ISO 8601 with offset. Only the source powering the displayed sleep total (chosen by the user's Sleep source priority) can be enriched; a sleep_source, when given, must match it. Never infer consent from a complaint about sleep; never mix additions with other metrics.
INFER, do not ask: date = today unless the user says otherwise.
IDEMPOTENT: values already present for that date (any source) -> a no-op success; report it as "already had data", not "failed".
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": {
"date": "<date>"
},
"name": "log_wearable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD; default today. | |
| resting_hr | No | Legacy provider resting HR, BPM. Only when the measurement type is unknown; never infer waking or sleeping from it. | |
| step_count | No | Supplemental steps NOT captured by any connected wearable. See STEPS. | |
| hrv_morning | No | Morning HRV, ms (RMSSD or similar). | |
| skin_temp_c | No | Skin temperature in °C. | |
| sleep_source | No | Source identity; must match the displayed sleep total's source. See SLEEP ADDITIONS. | |
| spo2_avg_pct | No | SpO₂ in %. | |
| stress_score | No | Stress score, 0-100. | |
| sleep_periods | No | Missing sleep periods to ADD. See SLEEP ADDITIONS. | |
| vo2max_estimate | No | VO2max estimate, ml/kg/min. | |
| core_body_temp_c | No | Core temperature in °C. | |
| dietary_calories | No | Dietary energy / calories eaten that day, kcal, imported from a connected health app (Apple Health / Health Connect). | |
| overnight_min_hr | No | Overnight minimum HR, BPM: the actual lowest reading during the MAIN sleep period. Never a nighttime average or generic RHR. | |
| systolic_bp_mm_hg | No | Systolic blood pressure in mmHg. Provide with diastolic_bp_mm_hg. | |
| daytime_resting_hr | No | Daytime resting HR, BPM: measured during awake rest, or estimated from documented awake, stable, non-exercise samples. Only when the user identifies this type. | |
| diastolic_bp_mm_hg | No | Diastolic blood pressure in mmHg. Provide with systolic_bp_mm_hg. | |
| blood_glucose_mg_dl | No | Blood glucose in mg/dL. | |
| active_zone_min_peak | No | Peak-intensity Zone Minutes (Fitbit Active Zone Minutes, Google Fit Heart Points). | |
| confirm_supplemental | No | true ONLY after the user explicitly confirmed these steps were walked without their device and were not captured. Never from your own inference. | |
| respiratory_rate_bpm | No | Breathing in br/min. | |
| active_zone_min_moderate | No | Moderate-intensity Zone Minutes (Fitbit Active Zone Minutes, Google Fit Heart Points). | |
| add_to_existing_sleep_record | No | true only on an explicit request to supplement an existing sleep record. See SLEEP ADDITIONS. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |