Log body measurements
log_measurementsSave body measurements such as waist, hips, chest, and body fat for a date, updating only provided values while keeping other measurements and weight unchanged.
Instructions
Save body measurements for a day: sizes in the user's size unit (cm unless changed in the app), fat_percentage in %. Only the values given are replaced; the day's other measurements and its weight are kept. Body weight is log_weight. data.ok says the server accepted it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calf | No | Calf circumference. | |
| date | Yes | Day as YYYY-MM-DD; when the user says today, yesterday, this week or a weekday, call get_today and count from its date. | |
| hips | No | Hips circumference. | |
| neck | No | Neck circumference. | |
| chest | No | Chest circumference. | |
| thigh | No | Thigh circumference. | |
| waist | No | Waist circumference. | |
| biceps | No | Biceps circumference. | |
| stomach | No | Stomach circumference. | |
| fat_percentage | No | Body fat in %. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | describe_error() of what went wrong; docs/AGENTS.md, Results and errors. |