canvas_discussion
Read a full Canvas discussion topic or announcement, including the message text, links, author, and dates, without marking it as read.
Instructions
Read one discussion topic or announcement in full (message as text with links, author, dates). It does not mark it read. Replies are read with canvas_discussion_entries.
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": {
"context_type": "<context_type>",
"context_id": "<context_id>",
"topic_id": "<topic_id>"
},
"name": "canvas_discussion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true: Canvas's unmodified JSON (UTC times, HTML). | |
| page | No | Page to fetch: a number, or the next_page value returned by the previous call. | |
| topic_id | Yes | Discussion or announcement topic id, from canvas_discussions or canvas_announcements. | |
| context_id | Yes | Id of the course, group, user or folder named by context_type. | |
| context_type | Yes | Where to look: course or group (files and folders also take user or folder). |