canvas_list_announcements
List announcements for one or more Canvas courses by passing required course context codes, with options to limit by date range or show active-only results.
Instructions
List announcements across one or more courses. contextCodes is required (e.g. ["course_123"]). Defaults to active-only.
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": {
"contextCodes": "<contextCodes>"
},
"name": "canvas_list_announcements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Response shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); "full" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs. On compact, the HTML Canvas stores teacher-written text in (message, description, syllabus_body, body, lock_explanation, long_description) comes back as Markdown: lists, tables, emphasis and links kept, styling and hidden text dropped, images as [alt text]. "full" keeps the HTML. | |
| endDate | No | ||
| startDate | No | ||
| activeOnly | No | ||
| contextCodes | Yes | Required. Array like ["course_123", "course_456"]. |