Merge foods
merge_foodsConsolidate duplicate food items by merging one food into another, updating all ingredient references and deleting the source food. Requires confirmation before finalizing.
Instructions
Points every ingredient that uses one food at another one and deletes the source food. Requires confirmation: call once to receive a token, then again with that token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | UUID of the food to keep — references end up here | |
| from_id | Yes | UUID of the food to merge away — this one is deleted | |
| confirm_token | No | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |