add_food_entry
Log a food item to your Cronometer diary by specifying food ID, measure ID, and gram weight. Optionally set date and meal slot.
Instructions
Add a food entry to the Cronometer diary.
Use search_foods to find food_id and measure_id, then get_food_details to confirm serving sizes and gram weights.
Args: food_id: Numeric food ID from search_foods results. measure_id: Measure/unit ID from get_food_details. grams: Weight of the serving in grams. date: Date to log as YYYY-MM-DD (defaults to today). translation_id: Translation ID from search results (usually 0). diary_group: Meal slot -- one of "auto", "breakfast", "lunch", "dinner", "snacks" (case-insensitive, default "auto").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_id | Yes | ||
| measure_id | Yes | ||
| grams | Yes | ||
| date | No | ||
| translation_id | No | ||
| diary_group | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |