alphaportal_set_notification
Set a student's push/email notification preferences for AM/PM transportation runs across categories like student scan, school arrival, and stop radius entry. Confirmation required before applying.
Instructions
Set a student's transportation notification preferences (push/email, per AM/PM run) across the categories the district enables: stopRadiusEntry, studentScan, backupBus, schoolArrival, stopServiced. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview of the exact payload and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). NOTE: the portal sends the whole preference set at once; categories you omit may be left unchanged or reset by the server — review the preview first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studentId | Yes | The numeric studentId. | |
| preferences | Yes | Per-category push/email toggles. | |
| 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. | |
| studentOriginalId | No | The student's originalId (from alphaportal_list_students), if known. |