Part of Project Phoenix - tau-bench Domain

Meal Planning

Plan Meals and Generate Shopping Lists

Planning Workflow (Plant-Based V2)

1
Select Recipes
2
Scale Servings
3
Create Plan
4
Generate List

Key Planning Tools

ToolDescription
scale_recipe_servingsScale a recipe to target servings
create_meal_planCreate a plan with day/meal/recipe entries
get_meal_planRetrieve a plan with recipe titles
generate_shopping_listAggregate ingredients across plan entries

Example Workflow

# 1) Scale a recipe scaled = scale_recipe_servings(11, 8) # 2) Create a weekly plan plan = create_meal_plan( "Week of 2026-02-16", [ {"day": "Mon", "meal": "Dinner", "recipe_id": 11, "servings": 4}, {"day": "Tue", "meal": "Dinner", "recipe_id": 15, "servings": 4} ] ) # 3) Build shopping list shopping = generate_shopping_list(plan["meal_plan_id"])

CLI Shortcuts

./scripts/recipes plan-dinners --count 5 --week-start 2026-02-16 --write ./scripts/recipes grocery-from-plan --meal-plan-id 1 --household-id 1 ./scripts/recipes chat "plan 5 dinners for next week" --week-start 2026-02-16