update_meal
Correct a logged meal: food_log_id from query_food; pass only what to change (empty = keep). eaten_at 'YYYY-MM-DD HH:MM' moves it to the right day (daily totals go by its date); nutrients {code: amount} overwrites just those codes, the…
Instructions
Correct a logged meal: food_log_id from query_food; pass only what to change (empty = keep). eaten_at 'YYYY-MM-DD HH:MM' moves it to the right day (daily totals go by its date); nutrients {code: amount} overwrites just those codes, the rest of the profile stays — e.g. the user ate half: pass the halved amounts. To remove a meal logged by mistake or twice use delete_meal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| portion | No | ||
| eaten_at | No | ||
| symptoms | No | ||
| meal_type | No | ||
| nutrients | No | ||
| wellbeing | No | ||
| description | No | ||
| food_log_id | Yes | ||
| glycemic_load | No | ||
| glycemic_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |