log_food
Quickly log a food entry by name and macros (calories, carbs, protein, fat). Auto-assigns meal by time of day, defaulting to snack when no meal window matches.
Instructions
Quick-add a food entry with macro values to the nutrition log
Logs food directly by name and macros without requiring a food ID. Uses Garmin's Quick Add feature. The meal is determined automatically by matching meal_time against each meal's startTime/endTime window; falls back to SNACKS if no window matches.
Args: meal_date: Date in YYYY-MM-DD format name: Display name for the food entry calories: Calories (kcal) carbs: Carbohydrates in grams protein: Protein in grams fat: Fat in grams meal_time: Time in HH:MM:SS format (account timezone)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat | Yes | ||
| name | Yes | ||
| carbs | Yes | ||
| protein | Yes | ||
| calories | Yes | ||
| meal_date | Yes | ||
| meal_time | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |