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.
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": {
"food_log_id": "<food_log_id>"
},
"name": "update_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 |