Search recipes
search_recipesSearch a recipe collection by name, ingredients, tags, categories, tools, or foods. Combine filters with AND/OR logic and sort by rating, date, or randomness.
Instructions
Searches the recipe collection. Returns summaries — name, slug, id, times, rating, tags and categories — without ingredients or steps; use get_recipe for those. All filters combine with AND; within one filter the entries are OR unless the matching require_all_* flag is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number, default 1 | |
| tags | No | Restrict the result to recipes carrying these tags — names, slugs or UUIDs | |
| foods | No | Restrict the result to recipes carrying these foods — names, slugs or UUIDs | |
| tools | No | Restrict the result to recipes carrying these tools — names, slugs or UUIDs | |
| search | No | Full-text search over names, descriptions and ingredients | |
| cookbook | No | Restrict the result to a cookbook, by slug or UUID | |
| order_by | No | Sort field, default created_at | |
| per_page | No | Number of entries to return, default 25, max 100 | |
| categories | No | Restrict the result to recipes carrying these categories — names, slugs or UUIDs | |
| order_direction | No | Sort direction, default desc | |
| require_all_tags | No | Require every listed tag instead of any of them | |
| require_all_foods | No | ||
| require_all_tools | No | ||
| require_all_categories | No |