edit_food
Update or delete a logged food item by ID: adjust grams, unit, food, meal, or macronutrient values.
Instructions
Fix a logged food item by id: a new amount (grams, or amount + unit), another food (name, or food_id from lookup_food or an item's candidates), another meal, or the numbers themselves. delete=True removes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat | No | ||
| kcal | No | ||
| meal | No | ||
| name | No | ||
| unit | No | ||
| carbs | No | ||
| grams | No | ||
| amount | No | ||
| delete | No | ||
| food_id | No | ||
| item_id | Yes | ||
| protein | No |