Use 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", "add that I don't eat cilantro" or "I'm vegetarian now, update it"), when they say yes after you offered to save a food taste they mentioned in this conversation, or when they confirm 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, and only what they asked for or agreed to: 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.
View input schema
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"description": "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."
},
"add": {
"type": "object",
"additionalProperties": false,
"properties": {
"likes": {
"type": "array",
"maxItems": 10,
"description": "Foods, dishes, ingredients or cuisines the user likes, to add.",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"dislikes": {
"type": "array",
"maxItems": 10,
"description": "Foods or ingredients the user doesn't want, to add.",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"allergies": {
"type": "array",
"maxItems": 10,
"description": "Allergies or intolerances the user stated for themselves, such as peanuts or shellfish, to add.",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"diets": {
"type": "array",
"maxItems": 10,
"items": {
"type": "string",
"enum": [
"vegetarian",
"vegan",
"pescatarian",
"halal",
"kosher",
"gluten_free",
"dairy_free",
"no_pork",
"no_beef",
"no_alcohol"
]
},
"description": "Diets the user follows, to add."
}
}
},
"remove": {
"type": "object",
"additionalProperties": false,
"properties": {
"likes": {
"type": "array",
"maxItems": 10,
"description": "Foods, dishes, ingredients or cuisines the user likes, to remove.",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"dislikes": {
"type": "array",
"maxItems": 10,
"description": "Foods or ingredients the user doesn't want, to remove.",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"allergies": {
"type": "array",
"maxItems": 10,
"description": "Allergies or intolerances the user stated for themselves, such as peanuts or shellfish, to remove.",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"diets": {
"type": "array",
"maxItems": 10,
"items": {
"type": "string",
"enum": [
"vegetarian",
"vegan",
"pescatarian",
"halal",
"kosher",
"gluten_free",
"dairy_free",
"no_pork",
"no_beef",
"no_alcohol"
]
},
"description": "Diets the user follows, to remove."
}
}
},
"levels": {
"type": "object",
"additionalProperties": false,
"description": "Taste levels from 1 (not at all) to 5 (very much): spicy, oily, sweet, meat and adventure (trying unfamiliar dishes). null clears a level.",
"properties": {
"spicy": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 5
},
"oily": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 5
},
"sweet": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 5
},
"meat": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 5
},
"adventure": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 5
}
}
},
"choices": {
"type": "array",
"maxItems": 10,
"description": "Dishes the user confirmed they picked or turned down, from at most three of their saved menus.",
"items": {
"type": "object",
"properties": {
"menuId": {
"type": "string",
"description": "The menuId from list_menus or get_import_status, or the menu's https://chef-bear.com/my-menu/ link."
},
"dishId": {
"type": "string",
"maxLength": 128,
"description": "The dish's id from get_menu."
},
"verdict": {
"type": "string",
"enum": [
"picked",
"rejected"
],
"description": "picked: the user chose or ordered it. rejected: the user turned it down."
}
},
"required": [
"menuId",
"dishId",
"verdict"
],
"additionalProperties": false
}
}
},
"required": [
"requestId"
],
"additionalProperties": false
}