post_comment
Add feedback comments to a student's Canvas submission without changing the grade. Preview the text first, then publish only after approval.
Instructions
Post a feedback comment on a student's submission without changing the grade.
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>",
"assignment_id": "<assignment_id>",
"user_id": "<user_id>",
"text": "<text>"
},
"name": "post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| confirm | No | false = preview only; true only after the user approves the text | |
| user_id | Yes | ||
| course_id | Yes | ||
| assignment_id | Yes | ||
| group_comment | No |