delete_meal
Permanently delete a meal entry. use: the user explicitly asks to remove or delete a logged meal.
FIND THE MEAL: id if known; else date (default today); add name only when several meals share that day. Irreversible: not exactly one match -> errors with the reason, deletes nothing; retry with id or a narrower name, never guess.
HYDRATION: any assistant hydration events linked to this meal are deleted by the database in the same food-row delete; issue no separate hydration delete.
CAFFEINE: caffeine sidecars linked to this meal are deleted by the database in the same food-row delete; call no separate caffeine delete tool.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Meal ID, if known. See FIND THE MEAL. | |
| date | No | YYYY-MM-DD; default today when id and date are both omitted. Finds the meal when id is omitted. | |
| name | No | Case-insensitive substring of the food description, to pick between meals on the date. Only without id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |