update_custom_food
Replace a custom food's full definition in Garmin Connect. Omitted nutrients or brand are removed, so include every field you want to keep. Requires Connect+.
Instructions
Requires a Garmin Connect+ subscription (check with has_connect_plus). FULL REPLACE of a custom food's definition. Needs Connect+. The same PUT carrying both ids. FULL REPLACE: a nutrient or brand left out is removed (verified: the brand was dropped).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"foodId": "<foodId>",
"servingId": "<servingId>",
"input": "<input>"
},
"name": "update_custom_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| foodId | Yes | ||
| servingId | Yes |