register_extra
Add an extra food item to an already registered meal at your mess; requires an existing registration for that same meal.
Instructions
Book an extra item for a meal.
The user must have an existing regular registration at the same mess for that meal before booking extras.
Args: extra_id: Identifier of the extra item (from list_available_extras). meal_date: Target date (YYYY-MM-DD). meal_type: One of 'breakfast', 'lunch', 'snacks', 'dinner'. meal_mess: Mess where the extra will be served. 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": {
"extra_id": "<extra_id>",
"meal_date": "<meal_date>",
"meal_type": "<meal_type>",
"meal_mess": "<meal_mess>"
},
"name": "register_extra"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| extra_id | Yes | ||
| meal_date | Yes | ||
| meal_mess | Yes | ||
| meal_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |