Delete saved food
metri_delete_foodDelete a saved food or batch: it disappears from metri_search_foods and can no longer be logged. Diary entries and batches that already contain it keep its name and nutrition.
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": {
"foodId": "<foodId>"
},
"name": "metri_delete_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| foodId | Yes | The saved food or batch to delete, from metri_search_foods. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the deleted food or batch. |