Get Discussion With Replies
get_discussion_with_repliesReads every entry in a Canvas discussion in full, optionally including all replies, and returns the topic title plus each top-level entry's author, post time, and complete text.
Instructions
Read every entry of a discussion in full, optionally with all replies.
Returns the topic title (not its body; get_discussion_topic_details has that) and each top-level entry's author, post time, and complete text, never cut; with include_replies=True each entry's replies are fetched too, also complete. get_discussion_entry_details reads a single entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | No | Canvas group ID, to read a discussion inside a group space instead of the course (default: None). Discussions that students start in a group exist only there. The group must belong to the course. | |
| topic_id | Yes | Discussion topic ID | |
| include_replies | No | Fetch detailed replies for all entries (default: False) | |
| course_identifier | Yes | Course code or Canvas ID |