Get a recipe
get_recipeFetch a Marmiton recipe by ID or URL, with ingredients, steps, times, category, rating, and nutrition. Specify servings to rescale quantities accurately.
Instructions
Read one Marmiton recipe: ingredients, steps, times, category, rating and nutrition. Give the id returned by search_recipes, or a marmiton.org recipe URL. Set 'servings' to rescale the quantities. Each ingredient reports how it was handled: 'scaled' for grams and millilitres, 'rounded' for countable things such as eggs or spoons, and 'unscaled' for lines with no quantity or with an approximate one such as a pinch of salt. Trust that flag rather than recomputing: the point of scaling here is to avoid answers like '2.4 eggs'. Recipes yielding pieces rather than servings are rescaled the same way; check 'yield' to see which. Always cite 'attribution' when showing a recipe to a user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Marmiton recipe id, as returned by search_recipes. Preferred over 'url'. | |
| url | No | Full marmiton.org recipe URL. Only marmiton.org is accepted. Ignored when 'id' is given. | |
| servings | No | Rescale the ingredients to this many servings. Omit to get the recipe exactly as published. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| notes | Yes | ||
| steps | Yes | ||
| title | Yes | ||
| yield | Yes | ||
| author | Yes | ||
| rating | Yes | ||
| source | Yes | ||
| category | Yes | ||
| nutrition | Yes | Nutrition is given for the recipe as published, not rescaled. | |
| attribution | Yes | ||
| ingredients | Yes | ||
| cook_minutes | Yes | ||
| prep_minutes | Yes | ||
| total_minutes | Yes |