Restore the latest undone meal change
restore_last_changeRestores the latest meal change undone with undo_last_change when the customer says the undo was a mistake. Always use two steps: first call without confirm to review what would return, changing nothing; after the customer confirms, call again with confirm true within ten minutes. Nothing else is needed: IZeat remembers what it showed. Only something undone in the last 48 hours can be restored. Returns the restored customer-facing meal and the recomputed day. Example: "That undo was a mistake" → review the latest undone change, ask for confirmation, then restore it. statement is the customer-facing IZeat message. It begins with "IZeat ·" so customers can distinguish information returned by IZeat from the assistant's own response. For write operations, it also states whether the requested change was recorded in their IZeat account. Account: Sam (review@izeat.app)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true only on the second call, after the customer agreed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| statement | Yes | Customer-visible IZeat receipt. Its value begins with "IZeat ·". |