canvas_create_discussion
Create a Canvas course discussion topic, optionally unpublished for review or published to notify students. Set prompts, threading, pinning, and initial-post requirements.
Instructions
Create a discussion topic. MUTATES the course.
Defaults to UNPUBLISHED so you can review it before students see it. Publishing a discussion notifies students who have announcements and discussions turned on.
Args: title: topic title. message: prompt body (HTML allowed). published: visible to students immediately (default False). require_initial_post: students must post before seeing replies. threaded: allow nested replies (default True). pinned: pin to the top of the discussions list. course_id: numeric course id; defaults to CANVAS_DEFAULT_COURSE_ID.
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": {
"title": "<title>",
"message": "<message>"
},
"name": "canvas_create_discussion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| pinned | No | ||
| message | Yes | ||
| threaded | No | ||
| course_id | No | ||
| published | No | ||
| require_initial_post | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |