update_food_entry
Edit an existing FatSecret food diary entry to change meal, serving, name, or units; delete and recreate the entry to move it to another date.
Instructions
Edit an existing diary entry. FatSecret cannot change its date; delete and recreate to move dates.
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": "update_food_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal | No | ||
| serving_id | No | ||
| food_entry_id | Yes | ||
| food_entry_name | No | ||
| number_of_units | No |