get_discussions
Retrieve discussion topics from a Canvas course, filtered by title or limited to announcements, with optional ordering by recent activity, position, or title.
Instructions
Get discussion topics in a Canvas course
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_discussions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderBy | No | Order discussions by (default: recent_activity) | recent_activity |
| courseId | No | The Canvas course ID (numeric) | |
| courseName | No | The course name (e.g., "Art 113N", "CMPEN 431"). If provided, courseId is not required. | |
| searchTerm | No | Optional search term to filter discussions by title | |
| onlyAnnouncements | No | Only list announcements (default: false) |