mhlb_print_calendar
Generate a printable lunch calendar PDF for a date range and selected students, saving it to disk or returning it inline as base64.
Instructions
Generate the printable lunch calendar PDF for a date range. Writes the PDF to disk and returns its path (or the bytes inline with inline: true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | Return the PDF as base64 in the result instead of writing it to a file. Default false. | |
| endDate | Yes | Last day to include (YYYY-MM-DD). | |
| filename | No | Output filename. Defaults to "Lunch Calendar.pdf". | |
| startDate | Yes | First day to include (YYYY-MM-DD). | |
| studentIds | Yes | Students to include — at least one, from mhlb_list_students. There is no "all students" default: an empty or omitted list makes the endpoint fail. |