canvas_list_notifications
Easily retrieve a user's notifications within the Canvas Learning Management System using this tool to streamline communication and updates.
Instructions
List user's notifications
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"required": [],
"type": "object"
}
Implementation Reference
- src/index.ts:690-697 (registration)Tool registration entry in the TOOLS array, defining name, description, and empty input schemaname: "canvas_list_notifications", description: "List user's notifications", inputSchema: { type: "object", properties: {}, required: [] } },
- src/client.ts:530-532 (handler)Core handler implementation in CanvasClient that fetches user's notifications via Canvas API /users/self/activity_stream endpoint} // ---------------------
- src/types.ts:463-474 (schema)Type definition for CanvasNotification, used as return type for the tool's output data structureexport interface CanvasNotification { id: number; title: string; message: string; html_url: string; type: string; read_state: boolean; created_at: string; updated_at: string; context_type: string; context_id: number; }