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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"meal_date": "<meal_date>",
"meal_type": "<meal_type>",
"meal_mess": "<meal_mess>"
},
"name": "register_meal"
}
}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 |