Update your taste profile
update_taste_profileUse this when the user asks you to remember, change or forget something about their own food tastes in ChefBear (for example "remember I'm allergic to peanuts", "I don't eat cilantro" or "I'm vegetarian now"), or confirms which dish they picked or turned down from one of their saved ChefBear menus. Adds or removes likes, dislikes, allergies and diets, sets or clears taste levels from 1 to 5, and records picks and rejections by menuId and the dish's id from get_menu. Record only what the user said about themselves in this conversation: never guess an allergy, diet or preference, and don't record a choice they didn't confirm. Repeating the same requestId with the same changes applies them once. Returns the updated profile. Needs the "Update your taste profile" permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| levels | No | Taste levels from 1 (not at all) to 5 (very much): spicy, oily, sweet, meat and adventure (trying unfamiliar dishes). null clears a level. | |
| remove | No | ||
| choices | No | Dishes the user confirmed they picked or turned down, from at most three of their saved menus. | |
| requestId | Yes | A new unique ID for this change, such as a UUID. Repeating it with the same changes returns the same result instead of applying them twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | No | The changes as saved, when the connection may not read the profile. | |
| profile | No | The saved profile, only when the connection may also read it. | |
| updated | Yes | Always true: the change is saved (or was, for a replay). | |
| replayed | Yes | True when this requestId was already applied; nothing changed this time. |