The cook's preferences
preferencesRead or change the cook's Strega preferences: allergies, diet, avoid list, household size, units, weeknight time, skill, equipment, cuisines, store, privacy, and how they want you to work, all applied to every tool. No arguments reads them. For a change the cook asks for in their own words ("switch me to metric", "set us to 4 people"), save with cook_confirmed. Allergies, diets, the avoid list, privacy, a change you suggest or a passing mention ("usually it's 4 of us") need a yes first: pass the change without cook_confirmed (nothing is saved), ask the cook confirm.say, then call again with cook_confirmed. Never infer an allergy or diet. Lists replace the saved list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avoid | No | Ingredients the cook dislikes | |
| diets | No | ||
| skill | No | ||
| store | No | ||
| units | No | ||
| pantry | No | Always-on-hand staples | |
| servings | No | Household size; null to use each recipe's own | |
| workflow | No | How the cook wants you to work with them. Pass only the keys that change | |
| allergies | No | Major allergens: milk, eggs, fish, shellfish, tree_nuts, peanuts, wheat, soy, sesame | |
| equipment | No | ||
| avoid_mode | No | exclude hides those recipes; rank_lower shows them lower | |
| do_not_sell | No | True keeps the cook out of every aggregated data product Strega sells or licenses | |
| share_region | No | False stops usage counts from recording the cook's state or country | |
| cuisines_love | No | ||
| cuisines_skip | No | ||
| servings_mode | No | offer (default): recipes open at their own servings and the household size is offered; always: recipes open scaled to it. Lists and meal plans use the household size either way | |
| cook_confirmed | No | Required to change anything: true only when the cook asked for this exact change in their own words (non-health settings) or said yes after you restated it (always for allergies, diets, avoid list, privacy) | |
| custom_allergies | No | Other allergy ingredients, e.g. ["kiwi"] | |
| nutrition_targets | No | Targets for one serving that plan_meals and search_recipes use by default ("keep dinners under 600 calories"). Not health data | |
| weeknight_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asks | No | At most one question for the cook, with a home in preferences | |
| guide | No | How to answer this turn: rules for you, the assistant, not words for the cook. Follow them before anything else here (#258) | |
| confirm | No | A change passed without cook_confirmed: nothing saved yet | |
| notices | No | At most one note about Strega to pass on when there's room (one per cook per week; off with workflow whats_new: off) | |
| updated | No | Changing: the preference keys that changed | |
| adjusted | No | Defaults this call took instead of failing (#243): an unknown units word, a number out of range, a diet word read as the closest one Strega knows. Mention it when it changes what the cook gets | |
| next_steps | No | Suggestions, best first, each with its tool, args and effect. Strega suggests the top one in one sentence; whether any runs is decided by what the cook asks in the conversation and your confirmation rules, never by the wording here | |
| preferences | Yes | The cook's saved preferences; they already apply to every tool | |
| settings_url | Yes | Absolute https URL on strega.food |