grade_with_rubric
Submit student grades in Canvas using rubric criteria. Map criterion IDs to points and optional comments to score assignments against a configured rubric.
Instructions
Submit grades using rubric criteria.
IMPORTANT: Criterion IDs often start with underscore (e.g., "_8027"). Use get_rubric to find criterion/rating IDs. 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?} |