Read Discussion
read_discussionRead course discussion topics by course ID, or get a full topic thread with all replies and nesting depth when a topic ID is provided.
Instructions
Read course discussions. With only course_id, lists the discussion topics. With topic_id, returns that topic and all its replies flattened in order, with a depth field showing nesting.
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": {
"course_id": "<course_id>"
},
"name": "read_discussion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | No | Topic id; omit to list topics | |
| course_id | Yes | Course id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||