mhlb_update_student
Update a student's lunch account profile by submitting an edited student form. Fetch the current form first to avoid losing omitted fields; confirm the preview before changes are applied.
Instructions
Update a student profile. Call mhlb_get_student_form first and send that model back with your edits — the endpoint replaces the whole record, so omitted fields are lost. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). NOTE: this write is UNVERIFIED — its request shape was derived from the web app’s compiled API client but has not been exercised against a live account. Inspect the confirmation preview before approving it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| student | Yes | The student model, as returned by mhlb_get_student_form / mhlb_new_student_form, with your edits applied. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |