delete_meal
Remove a meal from your calorie log by providing its ID and expected revision, ensuring only the intended version is deleted and preventing accidental removal of updated records.
Instructions
Soft-delete a meal after checking its expected revision.
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": {
"meal_id": "<meal_id>",
"expected_revision": "<expected_revision>"
},
"name": "delete_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal_id | Yes | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||