grade_submission
Grade a student submission in Canvas by providing course, assignment, and user IDs along with the grade value and an optional comment.
Instructions
Grade a student submission for a Canvas assignment
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>",
"grade": "<grade>"
},
"name": "grade_submission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grade | Yes | The grade value (e.g. '95', 'A', 'pass', 'incomplete') | |
| comment | No | Optional text comment to include with the grade | |
| user_id | Yes | The user/student ID | |
| course_id | Yes | The course ID | |
| assignment_id | Yes | The assignment ID |