update_food_definition
Update custom food definitions with new nutritional values, serving size, and labeling details; system foods are not editable.
Instructions
Update a custom food definition (cannot update system foods)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat | No | New fat grams | |
| name | No | New name | |
| brand | No | New brand | |
| carbs | No | New carbs grams | |
| fiber | No | New fiber grams | |
| sugar | No | New sugar grams | |
| foodId | Yes | Food definition ID | |
| barcode | No | New barcode | |
| protein | No | New protein grams | |
| calories | No | New calories | |
| category | No | New category | |
| servingSize | No | New serving size | |
| servingUnit | No | New serving unit | |
| householdServingName | No | Household serving name | |
| householdServingGrams | No | Grams per household serving |