canvas_submit_grade
Submit grades for student assignments in Canvas courses, including optional comments, via the Canvas LMS API. Designed for teacher use only.
Instructions
Submit a grade for a student's assignment (teacher only)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assignment_id | Yes | ID of the assignment | |
comment | No | Optional comment on the submission | |
course_id | Yes | ID of the course | |
grade | Yes | Grade to submit (number or letter grade) | |
user_id | Yes | ID of the student |
Input Schema (JSON Schema)
{
"properties": {
"assignment_id": {
"description": "ID of the assignment",
"type": "number"
},
"comment": {
"description": "Optional comment on the submission",
"type": "string"
},
"course_id": {
"description": "ID of the course",
"type": "number"
},
"grade": {
"description": "Grade to submit (number or letter grade)",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
},
"user_id": {
"description": "ID of the student",
"type": "number"
}
},
"required": [
"course_id",
"assignment_id",
"user_id",
"grade"
],
"type": "object"
}