Update Discussion
update_discussionUpdate an existing discussion topic in a course — title, message, published state, require_initial_post, delayed_post_at, or is_announcement — and return the updated topic; only the fields you pass are changed, the rest keep their current…
Instructions
Update an existing discussion topic in a course — title, message, published state, require_initial_post, delayed_post_at, or is_announcement — and return the updated topic; only the fields you pass are changed, the rest keep their current value. Course-scoped only: there is no update tool for group discussions, though list_group_discussions and get_group_discussion can still read them. Setting is_announcement: true asks Canvas to turn the topic into an announcement, but Canvas silently keeps it a plain discussion topic (HTTP 200, no error) if the caller lacks announcement-create permission in the course — this tool then throws instead of reporting success, naming the topic ID so you can check it with list_discussions or get_discussion. Use create_discussion to make a new topic, delete_discussion to remove one, list_announcements to see existing announcements, and post_discussion_entry to reply instead of editing the topic itself. Requires instructor/TA permission to manage discussions in the course.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title for the discussion topic | |
| message | No | New body text (supports HTML) | |
| topic_id | Yes | The Canvas discussion topic ID | |
| course_id | Yes | The Canvas course ID | |
| published | No | Publish or unpublish the topic | |
| delayed_post_at | No | ISO 8601 datetime to schedule the topic for future posting | |
| is_announcement | No | When true, requests marking the topic as an announcement. Canvas silently downgrades this to a plain discussion topic (no error) if the caller lacks announcement permission in the course — check the response's own `is_announcement` field rather than assuming the request was honored. | |
| require_initial_post | No | Require students to post before seeing replies |