grade_with_rubric
Submit student grades in Canvas by applying rubric criteria with specific point values and comments for each criterion.
Instructions
Submit grades using rubric criteria.
Args:
course_identifier: The Canvas course code (e.g., badm_554_120251_246794) or ID
assignment_id: The Canvas assignment ID
user_id: The Canvas user ID of the student
rubric_assessment: JSON string with rubric assessment data (format: {"criterion_id": {"points": X, "comments": "..."}, ...})
comment: Optional overall comment for the submission
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assignment_id | Yes | ||
comment | No | ||
course_identifier | Yes | ||
rubric_assessment | Yes | ||
user_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"assignment_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Assignment Id"
},
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Comment"
},
"course_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Course Identifier"
},
"rubric_assessment": {
"title": "Rubric Assessment",
"type": "string"
},
"user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "User Id"
}
},
"required": [
"course_identifier",
"assignment_id",
"user_id",
"rubric_assessment"
],
"type": "object"
}