create_rubric
Create grading rubrics in Canvas courses to define assessment criteria, specify point values, and associate with assignments for consistent evaluation.
Instructions
Create a new rubric in the specified course.
Args:
course_identifier: The Canvas course code (e.g., badm_554_120251_246794) or ID
title: The title of the rubric
criteria: JSON string or dictionary containing rubric criteria structure
free_form_criterion_comments: Allow free-form comments on rubric criteria (default: True)
association_id: Optional ID to associate rubric with (assignment, course, etc.)
association_type: Type of association (Assignment, Course, Account) (default: Assignment)
use_for_grading: Whether to use rubric for grade calculation (default: False)
purpose: Purpose of the rubric association (grading, bookmark) (default: grading)
Example criteria format (as JSON string or dict):
{
"1": {
"description": "Quality of Work",
"points": 25,
"long_description": "Detailed description of quality expectations",
"ratings": {
"1": {"description": "Excellent", "points": 25, "long_description": "Exceeds expectations"},
"2": {"description": "Good", "points": 20, "long_description": "Meets expectations"},
"3": {"description": "Satisfactory", "points": 15, "long_description": "Approaches expectations"},
"4": {"description": "Needs Improvement", "points": 10, "long_description": "Below expectations"}
}
}
}
Note: Ratings can be provided as objects (as above) or arrays - both formats are supported.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
association_id | No | ||
association_type | No | Assignment | |
course_identifier | Yes | ||
criteria | Yes | ||
free_form_criterion_comments | No | ||
purpose | No | grading | |
title | Yes | ||
use_for_grading | No |
Input Schema (JSON Schema)
{
"properties": {
"association_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Association Id"
},
"association_type": {
"default": "Assignment",
"title": "Association Type",
"type": "string"
},
"course_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Course Identifier"
},
"criteria": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"type": "object"
}
],
"title": "Criteria"
},
"free_form_criterion_comments": {
"default": true,
"title": "Free Form Criterion Comments",
"type": "boolean"
},
"purpose": {
"default": "grading",
"title": "Purpose",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"use_for_grading": {
"default": false,
"title": "Use For Grading",
"type": "boolean"
}
},
"required": [
"course_identifier",
"title",
"criteria"
],
"type": "object"
}