fitbit_get_food_log
Retrieve daily calories consumed and water intake from Fitbit food logs for a specified date range. Returns one entry per day, using cached data by default or live data when requested.
Instructions
Get daily food and water log summary.
Returns calories consumed and water intake (in mL) per day. Only populated if the user logs food/water in the Fitbit app. Returns from cache by default, auto-syncing if stale.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, fetch directly from Fitbit API. Uses one API call per day.
Returns one entry per day with calories_in and water_ml. Days with no logging are omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |