add_user_consumed_item
Log a consumed food item to a user's Yazio diary with date, meal type, and amount; include time to preserve entry timing.
Instructions
Add a food item to user consumption log. Pass date with time ("YYYY-MM-DD HH:mm:ss") to keep the time of the entry; date only (YYYY-MM-DD) logs it at 00:00.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date and time when the food was consumed in "YYYY-MM-DD HH:mm:ss" format (e.g., "2025-12-18 12:30:00"), or date only in YYYY-MM-DD format | |
| amount | Yes | Amount of the product consumed in base units (g or ml) | |
| daytime | Yes | Type of meal (breakfast, lunch, dinner, snack) | |
| serving | No | Serving type (e.g. portion, fruit, glass, cup, slice, piece, bar, gram, bottle, can, etc.) | |
| product_id | Yes | Product UUID v1/v4 (e.g. 4ceff6e9-78ce-441b-964a-22e81c1dee92) | |
| serving_quantity | No | Quantity of servings |