Search recipe ideas
search_recipesFind Fitatu recipes by phrase, diet, meal, calories, protein and cooking time. Filter by per-portion limits to plan meals that match your daily targets.
Instructions
Search the Fitatu recipe catalog for meal ideas, e.g. phrase 'kurczak' with max_energy_kcal 500 for a chicken dinner of at most 500 kcal, or diets ['vegan'], meal 'breakfast' and max_cooking_time 10 for a quick vegan breakfast. The filters are per portion and all apply together; all but max_energy_kcal need Fitatu Premium (without it a forbidden error: tell the user, search by phrase and max_energy_kcal instead). Each hit is shaped like a search_food hit of type RECIPE (food_id, name, energy_kcal and measure of one portion) plus cooking_time and preparation_time as the catalog gives them, rating, and premium: whether the app keeps the recipe for Fitatu Premium (get_recipe and get_food_measures read it only with Premium). get_recipe gives a hit's ingredients and steps. Log one with add_food: food_type RECIPE, quantity the portions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal | No | Only recipes the catalog suggests for this meal type (dinner is obiad, supper kolacja). | |
| diets | No | Diets every hit must fit, e.g. ['vegan', 'gluten_free']. | |
| limit | No | Maximum number of hits. | |
| phrase | No | Words to look for, e.g. 'kurczak' or 'sałatka'; omit it to browse. | |
| min_protein_g | No | Only recipes with at least this many g of protein per portion. | |
| max_energy_kcal | No | Only recipes of at most this many kcal per portion. | |
| max_cooking_time | No | Only recipes with a cooking_time of at most 10 or 30 minutes, the catalog's two time filters. | |
| max_carbohydrate_g | No | Only recipes with at most this many g of carbohydrate per portion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | describe_error() of what went wrong; docs/AGENTS.md, Results and errors. |