List recipes
list_recipesSearch and list recipes using filters for foods, keywords, books, ratings, dates, and sort orders; get slim results by default or full API data when needed.
Instructions
List/search recipes with extensive filtering. Default returns slim results (id, name, description, servings, rating, keywords). Pass format="full" for raw API response. sort_order options: score,-score,name,-name,lastcooked,-lastcooked,rating,-rating,times_cooked,-times_cooked,created_at,-created_at,lastviewed,-lastviewed. If filtering by food/keyword/book NAMES (not ids), prefer search_recipes; it resolves names to ids for you and reports unresolved names in _meta.unresolved so you know what was dropped. If this returns an empty result set, recommend: broaden the query, drop restrictive filters, or try search_recipes if you were passing names.
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": "list_recipes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | No | Put recently created recipes first. | |
| page | No | Page number, starting at 1. | |
| books | No | Recipe book IDs, from list_recipe_books. Same as books_or. | |
| foods | No | Food IDs, from list_foods. Same as foods_or. | |
| query | No | Fuzzy match on recipe name. | |
| units | No | Unit ID, from list_units; recipe uses this unit. | |
| filter | No | ID of a saved CustomFilter | |
| format | No | Response detail level. Default "slim". | |
| random | No | Return results in random order. | |
| rating | No | Exact rating. | |
| makenow | No | Only recipes makeable with on-hand foods | |
| books_or | No | Book IDs; recipe is in any of them. | |
| foods_or | No | Food IDs; recipe has any of them. | |
| internal | No | Only internal recipes, not external file recipes. | |
| keywords | No | Keyword IDs, from list_keywords. Same as keywords_or. | |
| books_and | No | Book IDs; recipe is in all of them. | |
| createdby | No | Creator user ID. | |
| createdon | No | Created on this date, YYYY-MM-DD. | |
| foods_and | No | Food IDs; recipe has all of them. | |
| page_size | No | Results per page. Default 25, max 100. | |
| updatedon | No | Updated on this date, YYYY-MM-DD. | |
| num_recent | No | Put this many recently viewed recipes first. | |
| rating_gte | No | Minimum rating. | |
| rating_lte | No | Maximum rating. | |
| sort_order | No | One option from the tool description; "-" prefix descends. | |
| keywords_or | No | Keyword IDs; recipe has any of them. | |
| timescooked | No | Exact number of times cooked. | |
| books_or_not | No | Book IDs; exclude recipes in any of them. | |
| cookedon_gte | No | Last cooked on or after, YYYY-MM-DD. | |
| cookedon_lte | No | Last cooked on or before, YYYY-MM-DD. | |
| foods_or_not | No | Food IDs; exclude recipes with any of them. | |
| keywords_and | No | Keyword IDs; recipe has all of them. | |
| viewedon_gte | No | Last viewed on or after, YYYY-MM-DD. | |
| viewedon_lte | No | Last viewed on or before, YYYY-MM-DD. | |
| books_and_not | No | Book IDs; exclude recipes in all of them. | |
| createdon_gte | No | Created on or after, YYYY-MM-DD. | |
| createdon_lte | No | Created on or before, YYYY-MM-DD. | |
| foods_and_not | No | Food IDs; exclude recipes with all of them. | |
| updatedon_gte | No | Updated on or after, YYYY-MM-DD. | |
| updatedon_lte | No | Updated on or before, YYYY-MM-DD. | |
| keywords_or_not | No | Keyword IDs; exclude recipes with any of them. | |
| timescooked_gte | No | Minimum number of times cooked. | |
| timescooked_lte | No | Maximum number of times cooked. | |
| keywords_and_not | No | Keyword IDs; exclude recipes with all of them. |