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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal | Yes | ||
| year | No | ||
| month | No | ||
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |