Remove a food
delete_food_entryUse this when the person asks to remove a food they logged by mistake. Give its entry id from get_nutrition. Comes back with an Undo. Do not use for a food they still ate; log the right amount instead.
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>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "delete_food_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryId | Yes | The logged food's entry id, from get_nutrition. | |
| idempotencyKey | Yes | A new random id for this change (a UUID). Send the same one again only to retry this exact change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |