edit_food_entry
Update an existing food entry's calories, protein, or name by entry ID to correct logged nutrition data.
Instructions
Update calories, protein, or name of an existing entry
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": {
"entryId": "<entryId>"
},
"name": "edit_food_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated food name (optional, 1-200 characters) | |
| entryId | Yes | UUID of the entry to edit | |
| protein | No | Updated protein in grams (optional, 0-500) | |
| calories | No | Updated calories (optional, 0-10000) |