Get Discussions
get_discussionsFetch discussion board content for a course, including forums, topics, and posts. Specify courseId to list all forums, or add forumId and topicId to retrieve posts from a specific discussion.
Instructions
Fetch discussion board content for a course including forums, topics, and posts. Use this when the user asks about discussion boards, forum posts, class discussions, or wants to see what's been posted. Provide just courseId to list all forums and their topics. Add forumId to get topics and posts for a specific forum. Add both forumId and topicId to get all posts in a specific discussion topic. Example: "What have people posted in this week's discussion board?"
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 |
|---|---|---|---|
| forumId | No | Specific forum ID to get topics and posts for. If omitted, returns all forums. | |
| topicId | No | Specific topic ID to get posts for. Requires forumId. | |
| courseId | Yes | Course ID to get discussion boards for. |