add_user_consumed_item
Log food consumption in Yazio by adding items to your nutrition diary with product details, date, meal type, and serving information.
Instructions
Add a food item to user consumption log
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Product UUID v1/v4 (e.g. 4ceff6e9-78ce-441b-964a-22e81c1dee92) | |
| date | Yes | Date when the food was consumed | |
| daytime | Yes | Type of meal (breakfast, lunch, dinner, snack) | |
| amount | Yes | Amount of the product consumed in base units (g or ml) | |
| serving | No | Serving type (e.g. portion, fruit, glass, cup, slice, piece, bar, gram, bottle, can, etc.) | |
| serving_quantity | No | Quantity of servings |