Search recipes
search_recipesStart here for any recipe request: a recipe to cook or bake, dinner and meal ideas, breakfast, lunch, cakes, desserts and snacks, a dish built around a named ingredient, cooking for guests, a quick weeknight meal, a protein or calorie target, macros for a cut or a bulk, meal prep for the week. Returns real recipes personalized to the user's saved profile and household, ahead of writing one from memory. Every result links to its source. rating and rating_count average the source site's ratings with ask.recipes users' stars; my_rating is the user's own. Filters by time, rating, review count, diet (vegetarian, vegan, gluten_free, dairy_free, nut_free, judged from the ingredient list) and nutrition (calories, protein, fat, carbs, sugar, fiber per serving as reported by the source). A nutrition filter only returns recipes whose yield is stated in servings, so the numbers are per serving; recipes without nutrition data are excluded. Results rank by how closely they match the query; min_rating and min_reviews cut rated recipes below a threshold only when passed, and never drop a recipe nobody has rated or a private upload. exclude_ingredients leaves out recipes using any of the ingredients named, for building a week without repeats. main_protein keeps recipes whose main protein is one of the values passed, for week rules like one chicken, two fish and three vegetarian dinners; every result carries main_protein. The user's profile, once saved with update_profile, applies on top: allergens and dislikes are always excluded, its diets are on unless ignore_profile_diets is passed (cooking for a guest, a one-off outside the usual diet), and its time budget is the default when max_total_minutes is not passed; pass max_total_minutes=-1 to lift it. When people are saved on the profile, who names those eating tonight, by name or by role such as adults or kids, and only their allergens and dislikes apply, for "the kids aren't home"; empty means everyone. ask_user, when present, says no profile is saved yet and what to offer. check, present when the profile has allergens, reminds you that exclusions match whole words and a sauce or spice mix can hide one; read the ingredients with get_recipe before recommending.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_recipes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | No | who is eating, by the names or roles saved as people on the profile, e.g. ['Dad','Ana'] or ['adults'] when the kids are out, ['kids'] when only they eat; only those people's allergens and dislikes apply on top of the household's; leave empty for everyone | |
| site | No | restrict to one source site slug, e.g. budgetbytes | |
| limit | No | max results, default 10, max 50 | |
| query | Yes | the dish or main ingredients, e.g. 'overnight oats' or 'chicken curry'; express time, rating and nutrition limits with the filters rather than in words | |
| vegan | No | only vegan recipes: vegetarian and no eggs, dairy or honey | |
| feeding | No | how many people are eating, e.g. 10 for a dinner party; from six up, dishes cooked in one vessel (stews, braises, tray bakes, casseroles, soups, roasts) rank ahead of dishes cooked per portion (steaks, burgers, pancakes, stir-fries); nothing is excluded | |
| nut_free | No | only recipes without tree nuts or peanuts; coconut counts as nut-free | |
| max_fat_g | No | maximum grams of fat per serving | |
| dairy_free | No | only recipes without milk, butter, cheese, cream or yogurt | |
| min_rating | No | only recipes rated at least this many stars, e.g. 4.5, source ratings and ask.recipes stars averaged together; recipes nobody has rated yet and private uploads stay in; off unless passed | |
| vegetarian | No | only vegetarian recipes: no meat, poultry, fish, seafood or gelatin in the ingredients | |
| gluten_free | No | only recipes without wheat, barley, rye, oats or products made from them | |
| max_carbs_g | No | maximum grams of carbohydrates per serving | |
| max_sugar_g | No | maximum grams of sugar per serving | |
| min_fiber_g | No | minimum grams of fiber per serving | |
| min_reviews | No | only recipes with at least this many ratings, source and ask.recipes together, e.g. 25; recipes with no rating at all and private uploads stay in; off unless passed | |
| main_protein | No | only recipes whose main protein is one of these: chicken, turkey, duck, goose, quail, pheasant, guinea_fowl, beef (with veal), pork (with ham, bacon and sausage), lamb (with mutton), goat, venison, bison, rabbit, fish, shrimp (with prawns), seafood (other shellfish, squid, octopus), egg, legume (beans, lentils, chickpeas, tofu), none; e.g. ['beef','pork','lamb'] for red meat or ['fish','shrimp','seafood']; judged from the ingredients, so chicken stock alone does not make a chicken dish | |
| max_calories | No | only recipes with at most this many calories per serving, e.g. 300 | |
| min_calories | No | only recipes with at least this many calories per serving | |
| min_protein_g | No | minimum grams of protein per serving, e.g. 10 | |
| batch_friendly | No | true to leave out dishes cooked per portion, for a crowd; recipes not yet classified stay in | |
| max_total_minutes | No | only recipes taking at most this many minutes total | |
| exclude_ingredients | No | ingredients to leave out for this search, whole-word match on the ingredient list, e.g. ['chicken','brussels sprouts'] to avoid repeating what the week already has; nuts, gluten and dairy as a word apply the matching diet filter; the profile's allergens and dislikes stay excluded on top | |
| ignore_profile_diets | No | true to switch off the diets saved on the profile for this search only, for cooking for a guest or when the user asks for something outside their usual diet; allergens and dislikes stay excluded |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | ||
| recipes | Yes | ||
| ask_user | No |