get_cancellation_count
See how many meal cancellations you've used in a month, compare against the limit, and find how many remain before penalties apply.
Instructions
Return how many cancellations the user has used for a meal in a given month.
Compares this against the system maximum (from get_config_windows) to determine remaining budget before penalties apply.
Args: meal: One of 'breakfast', 'lunch', 'snacks', 'dinner'. month: Month (1-12). Defaults to current month. year: Year (YYYY). Defaults to current year. 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": "<meal>"
},
"name": "get_cancellation_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal | Yes | ||
| year | No | ||
| month | No | ||
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |