edit_food_entry
Modify an existing food diary entry by updating meal type, serving size, or name. Requires prior authentication to apply changes.
Instructions
Edit an existing food diary entry. Cannot change the date. Requires profile auth (check_auth_status first).
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_entry_id": "<food_entry_id>"
},
"name": "edit_food_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal | No | Meal type | |
| serving_id | No | ||
| food_entry_id | Yes | Food entry ID to edit | |
| food_entry_name | No | ||
| number_of_units | No |