add_to_cart
Add a meal to the shopping cart for a given serve date and menu line, with optional quantity and profile. Does not place the order; confirm_order must be called to finalize.
Instructions
Add a meal to the shopping cart. Does NOT place the order yet.
You MUST call confirm_order afterwards to finalize the order.
Note: Orders must be placed at least 1 day before the delivery date.
Args:
serve_date: Delivery date in YYYY-MM-DD format (e.g. "2026-02-25")
menu_line_id: Menu line ID (8=GS1, 9=GS2, 10=GS3 — shown in get_weekly_menu output)
profile: Profile name (e.g. "child1"). Optional if only one profile is configured.
quantity: Number of portions (default 1, usually max 2)
menu_group_id: Menu group ID (default "2", shown in get_weekly_menu output)
Returns:
Cart status. Remember to call confirm_order to finalize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | ||
| quantity | No | ||
| serve_date | Yes | ||
| menu_line_id | Yes | ||
| menu_group_id | No | 2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |