Get a recipe
get_recipeRetrieve a complete Marmiton recipe by ID or URL, including ingredients, steps, times, ratings, and nutrition. Rescale ingredient quantities to any serving count, with exact handling flags.
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' when the arithmetic came out exact, which a count of eggs, spoons or pinches reaches as readily as a mass in grams, 'rounded' when the value had to be moved to stay usable, and 'unscaled' for lines carrying no quantity at all. 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 |