Change food preferences
update_food_preferencesOverwrites the supplied account food preferences: diet, foods to avoid and dislikes, in plain words. Omitted fields keep their current value; a supplied list replaces that list whole, so a change to one item is sent as the full updated list (get_food_preferences gives the current one). Returns the saved preferences. They apply to the next planning, search or recipe call on every surface: recipes that use these foods are left out. Chop it leaves out the foods a person chooses but is not built for managing allergies, and never describes a recipe, plan or list as safe for one. Idempotent. Requires a linked Chop it account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_food_preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diet | No | The whole-week diet. Omit to keep the current one. | |
| dislikes | No | The complete list of other foods the household doesn't eat, in plain words ('mushrooms', 'coriander'). Omit to keep the current list; pass [] to clear it. | |
| foodsToAvoid | No | The complete list of the fourteen common foods to leave out; recipes using them are left out. Omit to keep the current list; pass [] to clear it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diet | Yes | ||
| summary | Yes | ||
| dislikes | Yes | ||
| foodsToAvoid | Yes |