update_menu_item
Partially update an existing menu item by changing only the specified fields—name, description, price, cost, nutrition, ingredients, or availability. Use to modify menu details while preserving omitted values.
Instructions
ADMIN: Partially updates an existing menu item — only the provided fields change; omitted fields keep their current values. Use for renames, description edits, price/cost changes, nutrition updates, or toggling availability (is_available for out-of-stock, is_active to retire an item). Prefer set_menu_item_price for a price-only change and delete_menu_item to remove the item permanently. Requires pac_cordinator or lunch_cordinator role. WRITE operation — confirm changes with the user. Get restaurant_id from list_school_restaurants and menu_item_id from list_menu_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the item | |
| calories | No | Calorie count | |
| is_active | No | Whether the item stays on the restaurant menu — set false to retire it | |
| cost_cents | No | Kitchen cost in cents (internal margin tracking) | |
| description | No | New item description shown to parents | |
| ingredients | No | Ingredient list text | |
| price_cents | No | Sale price in cents (e.g. 550 = $5.50) | |
| is_available | No | Whether the item can be ordered — set false while out of stock | |
| menu_item_id | Yes | Menu item ID — from list_menu_items | |
| restaurant_id | Yes | Restaurant ID — from list_school_restaurants |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| isActive | No | ||
| priceCents | No | ||
| isAvailable | No |