How the household eats
get_profileRead what is saved about how the user eats: how many are eating, allergens, dislikes, likes, diets, cuisines, the usual weeknight time budget, units, daily calorie or macro goals, and the people in the household, each with a role such as kid or adult and what applies to them alone. Household allergens and dislikes are excluded from every search; a person's apply whenever they are eating, which is everyone unless a search passes who. Diets stay on and the time budget is the default time limit, so you rarely need to pass them yourself; read likes and cuisines to steer suggestions. Call it before planning a week and when the user asks what you know about them. set=false means nothing is saved yet: offer the set_up_my_kitchen questions once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | Yes | false when nothing has been saved yet | |
| note | No | ||
| diets | Yes | ||
| likes | Yes | ||
| units | No | ||
| people | Yes | ||
| cuisines | Yes | ||
| dislikes | Yes | ||
| allergens | Yes | ||
| household | No | present when the user shares a kitchen with other ask.recipes accounts; their allergens and dislikes apply to searches for everyone | |
| fat_g_per_day | No | ||
| household_size | No | ||
| carbs_g_per_day | No | ||
| calories_per_day | No | ||
| protein_g_per_day | No | ||
| time_budget_minutes | No |