kitchen_scale_recipe
Scale a recipe from one pan or vessel to another, converting ingredients to kitchen-friendly amounts and flagging unscaled lines.
Instructions
Scale a recipe written for one pan to another vessel, with kitchen-friendly amounts.
ingredients: ONE text block, an ingredient per line (paste the list as is), or a list of strings ("2 1/4 cups
flour", "3 eggs", "1/2 cup (115 g) butter, melted") or {"amount", "unit", "name"} objects. A line with no
number stays unscaled and is listed in warnings. source_vessel: the pan the recipe was written for;
target_vessel: the pan to use now. Each is a vessel object from kitchen_measure_vessel or
kitchen_vessel_from_dimensions, or just a name ("9x13", "8 inch round", "half sheet"); vessels_resolved says
which preset each name became: check it with the user.
recipe_kind: batter_heavy (cakes, quick breads; fill <= 2/3), sponge (<= 1/2), bars_brownies, bread_loaf,
casserole, soup_stew, sauce (these two scale by volume); words like brownies, cake, soup work. Omitted: it is
inferred from the recipe text when obvious, else batter_heavy; recipe_kind.used / source / why say which.
mode auto|area|volume: auto uses the AREA ratio (same batter thickness) unless the target is clearly
shallower or it is a soup (then VOLUME). original_bake_minutes, original_temp_f: optional, for the bake note.
fill_fraction: how full the original fills the source pan (0.05-1.0), else a typical value is assumed.
rounding: kitchen (1/8 cup, 1/4 tsp steps) | exact.
detail: summary (default, lean lines) | full (adds original and exact amounts per ingredient).
Returns summary (quote it), scale_factor (+/-), basis and why, ingredients_scaled (original, scaled, display),
fill (height, limit, ok), bake notes, recipe_kind, vessels_resolved, warnings. Eggs scale to whole, half or
measured beaten egg. Fill height and bake notes are guidance, not measurements: go by doneness. Factors
outside 0.5-2.0 and Bundt/angel-food/cheesecake pans carry warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| detail | No | summary | |
| rounding | No | kitchen | |
| ingredients | Yes | ||
| recipe_kind | No | ||
| fill_fraction | No | ||
| source_vessel | Yes | ||
| target_vessel | Yes | ||
| original_temp_f | No | ||
| original_bake_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||