Move Fitatu Meal Item
move_meal_itemMove a Fitatu meal item to a different date or meal, confirm the update, and get the new item ID for later changes.
Instructions
Moves and confirms one existing Fitatu meal item selected by its exact source date, mealKey, and itemId. Provide a destination date, mealKey, or both that differs from the source. Fitatu creates a new item id during a valid move. Returns { status: 'confirmed', fromDate, fromMealKey, previousItemId, toDate, toMealKey, itemId }; use the returned itemId for later mutations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Meal item id to move. Use itemId returned by get_day_plan_items. | |
| toDate | No | Destination day in YYYY-MM-DD format. Omit when moving only to a different meal on the same date. | |
| fromDate | Yes | Current day containing the item to move, in YYYY-MM-DD format. | |
| toMealKey | No | Destination meal key. Omit only when moving to the same meal on a different date. Do not omit both toDate and toMealKey. | |
| fromMealKey | Yes | Current meal key containing the item. Use mealKey values returned by get_day_plan_items. Typical keys are breakfast, second_breakfast, lunch, snack, supper, but accounts with renamed or additional meals may use other keys such as dinner. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Persisted meal item id to use in later update, move, replace, or remove operations. | |
| status | Yes | The requested mutation was observed in the persisted Fitatu day plan. | |
| toDate | Yes | Current day of the moved item. | |
| fromDate | Yes | Previous day of the moved item. | |
| toMealKey | Yes | Current meal key of the moved item. | |
| fromMealKey | Yes | Previous meal key of the moved item. | |
| previousItemId | Yes | Previous item id confirmed absent from the source meal. |