Weight
get_weightRetrieve weight and body composition measurements from Garmin for a chosen period or date range up to 92 days, returned in grams; check previousDateWeight when no entries exist.
Instructions
Weight and body composition measurements over a range, from a Garmin smart scale or entered manually in Garmin Connect, returned as Garmin sends them: weights are in grams (74000 = 74 kg). Often empty, since it needs a smart scale or manual entries. When nothing was recorded in the range, the result holds only previousDateWeight, the last measurement before it: check its calendarDate before treating it as current. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date. For longer histories, make several calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Named period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date. | |
| end_date | No | Last day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days. | |
| start_date | No | First day, YYYY-MM-DD, inclusive. Required unless period is given. |