Undo last entry
nourish_undo_lastUndo the most recently logged meal or hydration entry to fix a mistaken nutrition log. Returns the removed entry for confirmation before you continue.
Instructions
Undo the most recently logged intake or hydration entry. The most common Telegram/agent recovery move ('I logged the wrong thing'). Returns what was undone so the agent can confirm. Requires explicit_user_intent. Pass kind: 'intake' | 'hydration' | 'any' (default 'any') to scope the undo.
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": "nourish_undo_last"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which most-recent entry to undo: 'intake' = last logged meal, 'hydration' = last logged water, 'any' = whichever was most recent across both stores. Defaults to 'any'. | any |
| response_format | No | json | |
| explicit_user_intent | No | Pass true only after the user explicitly asked to save, log, set, or delete this personal nutrition data. |