Update Notification Preference
update_notification_preferenceChange how often Canvas emails or texts you about a single event category, such as grading or announcements, with a preview and confirmation before updating your own preferences.
Instructions
Change how often Canvas emails or texts you about one kind of event, e.g. "grading" only weekly, or "announcement" immediately. Only affects your own notifications. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]
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": {
"channel_id": "<channel_id>",
"category": "<category>",
"frequency": "<frequency>"
},
"name": "update_notification_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true together with confirm_token to carry out a request you already previewed. | |
| category | Yes | Category name from list_notification_categories, e.g. "due_date", "grading", "announcement", "conversation_message". | |
| frequency | Yes | "immediately", "daily", "weekly" or "never". | |
| channel_id | Yes | Communication channel ID (numeric string). Get it from get_communication_channels. | |
| confirm_token | No | The one-time token from the preview. Only use it after the user has said yes. |