register_meal
Create or update meal registrations for a target date, meal type, and mess. Add optional external guests (0–5) when needed.
Instructions
Create or update a meal registration.
If the registration already exists it will be updated. Use check_registrations to confirm the registration or cancellation window is open before calling this.
Args: meal_date: Target date (YYYY-MM-DD). meal_type: One of 'breakfast', 'lunch', 'snacks', 'dinner'. meal_mess: Mess identifier, e.g. 'yuktahar', 'kadamba-nonveg', 'north'. guests: Number of external guests (0–5, billed additionally). api_key: API key. Falls back to MESS_API_KEY environment variable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | No | ||
| api_key | No | ||
| meal_date | Yes | ||
| meal_mess | Yes | ||
| meal_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |