Get Topic
get_topicRetrieve a Canvas discussion topic's prompt, author, posting rules, and unread count without loading replies; use it to inspect topic details read-only.
Instructions
Get one discussion topic: its prompt, author, posting rules and unread count, without the replies. Read-only. The prompt is fenced as untrusted text. Use get_full_topic_view to read the whole thread, or list_topics to find topic IDs.
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>",
"topic_id": "<topic_id>"
},
"name": "get_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | Discussion topic ID (numeric string). Get it from list_topics. | |
| course_id | Yes | Canvas course ID, a numeric string such as "12345". Get it from list_courses. |