Undo last entry
nourish_undo_lastUndo the last logged food or water entry. Returns the undone entry for confirmation.
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.
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 |
| explicit_user_intent | No | Pass true only after the user explicitly asked to save, log, set, or delete this personal nutrition data. | |
| response_format | No | json |