Discussions
get_discussionsList Canvas course discussion topics with due dates, points, reply and unread counts, or open a topic to read its prompt and newest posts; use a cursor for older replies.
Instructions
Course discussions. Without topicId: every topic with due date, points, reply counts, unread counts and whether you must post first. With topicId: the prompt in full and the newest posts (maxPosts, default 10) with authors and replies, plus a cursor call for older posts.
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": {
"courseId": "<courseId>"
},
"name": "get_discussions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | No | Cursor from a previous call: skip this many newest posts | |
| offset | No | ||
| postId | No | Read one post (or reply) in full | |
| topicId | No | ||
| courseId | Yes | ||
| maxPosts | No |