rate_meal
Submit a 1-5 rating for a school meal's quality and quantity in EduPage, optionally for a specific date, meal type, or menu, to record feedback and update rating averages.
Instructions
Rate a school meal (quality + quantity, each 1-5). ⚠️ Writes a real rating into EduPage for the logged-in boarder/child.
Args: quality: Food quality score 1-5 (required) quantity: Portion quantity score 1-5 (required) date_str: Date in YYYY-MM-DD format. Leave empty for today. meal_type: snack / lunch / afternoon_snack (or 1/2/3). Default lunch. menu_number: Optional choosable menu id (1=A, 2=B, …). Empty = ordered/first menu. school: School subdomain (only needed with multiple schools).
Returns: JSON with ok=true, submitted scores, and refreshed rating averages
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| school | No | ||
| quality | Yes | ||
| date_str | No | ||
| quantity | Yes | ||
| meal_type | No | lunch | |
| menu_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |