canvas_bulk_grade
Post multiple student grades to one assignment at once; Canvas processes asynchronously, so verify entries afterward with submission reads.
Instructions
Post many grades to one assignment at once. MUTATES STUDENT RECORDS.
Canvas processes this asynchronously and returns a Progress object, so the grades appear a few seconds later. There is no partial-failure report — read back with canvas_list_submissions to confirm.
A bulk write is the highest-consequence call in this server. Show the instructor the complete table of student ids, grades, and comments and get an explicit go-ahead; never assemble one from inference.
Args: assignment_id: numeric assignment id. grades_json: JSON object keyed by user id, e.g. '{"101": {"grade": "18", "comment": "Clear thesis."}, "102": {"grade": "15"}}'. A bare string value is accepted as the grade: '{"101": "18"}'. course_id: numeric course id; defaults to CANVAS_DEFAULT_COURSE_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | No | ||
| grades_json | Yes | ||
| assignment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |