Grade With Rubric
grade_with_rubricSubmit student grades for Canvas assignments using rubric criteria, mapping each criterion to points and optional ratings or comments. Use rubric IDs from the assignment to ensure accurate grading.
Instructions
Submit grades using rubric criteria.
Criterion IDs often start with an underscore (e.g., "_8027"); look up criterion and rating IDs with get_rubric rather than guessing them. The rubric must be attached to the assignment and configured for grading (use_for_grading=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional overall comment. OMIT it unless the instructor explicitly asked for written feedback -- "grade this with the rubric" means the grade only. It is visible to the student in SpeedGrader, APPENDS rather than replaces on each call, and cannot be un-sent. Never generate one that merely restates the grade or narrates that grading happened. | |
| user_id | Yes | Canvas user ID of the student | |
| assignment_id | Yes | Canvas assignment ID | |
| course_identifier | Yes | Course code or Canvas ID | |
| rubric_assessment | Yes | Dict mapping criterion_id to {points (required), rating_id?, comments?} |