Update a nutrition entry
update_nutritionChange an existing food. Do not add a second entry. Prefer log_id from list_nutrition. ok=true only after Garmin re-read shows the new values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat | No | Fat in grams. | |
| name | No | Food name shown in Garmin Connect. | |
| carbs | No | Carbohydrates in grams. | |
| query | No | Food name fragment if log_id is unknown. Prefer log_id. | |
| log_id | No | Exact log_id from list_nutrition. Required when several foods share a name. | |
| account | No | ChatGPT name from list_destinations aliases (я, оксана, mogadanez). Prefer destination_id. Matched only against this user's allow-list. | |
| protein | No | Protein in grams. | |
| calories | No | Energy in kcal. | |
| timezone | No | IANA timezone. | Europe/Prague |
| meal_date | No | Local date YYYY-MM-DD. | |
| meal_type | No | Meal to search in. | |
| destination_id | No | Stable destination id from list_destinations. Required when more than one destination is writable. | |
| destination_kind | No | Tracker kind. garmin is supported now. myfitnesspal, cronometer, macrofactor, and apple_health are reserved and unsupported. | garmin |
| user_query_images | No | HTTPS URLs or MCP image refs for meal photos. Optional. Persist hashes/URLs only. | |
| serving_multiplier | No | Scale the current serving; 2 doubles the logged portion. | |
| user_query_context | No | Original user message. Always forward it. Used for alias hints and audit; never expands the allow-list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| fat | No | ||
| name | No | ||
| carbs | No | ||
| error | No | ||
| goals | No | ||
| log_id | No | ||
| account | No | ||
| message | Yes | ||
| protein | No | ||
| bmr_kcal | No | ||
| calories | No | ||
| consumed | No | ||
| meal_name | No | ||
| remaining | No | ||
| candidates | No | ||
| plan_goals | No | ||
| goal_source | No | ||
| destinations | No | ||
| activity_kcal | No | ||
| destination_id | No | ||
| calories_burned | No |