Record a body measurement
log_body_metricRecord a daily body metric (weight, body-fat %, circumferences), merging into that day's entry. Overwrite a wrong number by sending the corrected value.
Instructions
Record the user's body weight, body-fat % or circumferences for one day.
Use it whenever the user states a current measurement; training goes to log_session,
and reading measurements back is get_body_metrics. The app's weight tile and charts
and the coaching context read these entries, not the profile's bodyweight field.
One entry per date, and recording the same date again ADDS to it: send only what the
user just told you. Fields you leave out keep their stored value, new measurements or
custom_fields keys join the existing ones, and a repeated key or field is overwritten,
which is how a wrong number is corrected. Send a field as null to clear it. Returns the
whole stored entry for that day. There is no delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||