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. The person marked self is the user, so who=['me'] works. Diets stay on unless a search passes ignore_profile_diets, and the time budget is the default time limit, so you rarely need to pass them yourself; read likes, cuisines and notes 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.
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": "get_profile"
}
}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 | ||
| notes | No | free text the user wrote about how they eat that fits no field, such as an additive to avoid or how they batch cook; read it before recommending or planning | |
| 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 |