Save the day's numbers
log_day_numbersSave a day's steps, calories burned, resting heart rate, HRV, sleep and readiness for a user whose watch, ring or phone isn't synced to Heza (Fitbit, Apple Watch, Samsung, Pixel, Oura...; Garmin, COROS and Polar sync on their own), copied from Apple Health, Health Connect, the device's app or a screenshot. Same as 'Add today's numbers' in the app. Up to 31 days per call. Only send numbers the source shows: never estimate. A field left out keeps its saved value; null clears it. Days already synced from Garmin, COROS or Polar are never changed. Apple Health HRV is SDNN, which runs higher than the RMSSD of Fitbit, Garmin or COROS: compare it only with itself. Workouts go through log_activity.
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": {
"days": "<days>"
},
"name": "log_day_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| source | No | Where the numbers come from, e.g. 'Fitbit via Health Connect', 'Apple Health', 'screenshot of the Fitbit app' |