Submit Peer Review
submit_peer_reviewSubmit a peer review of a classmate’s work with a comment and optional rubric scores; preview the review before confirming to share it with the classmate and instructor.
Instructions
Submit your peer review of a classmate's work: a comment and, optionally, rubric scores. The classmate and instructor can see it. Get student_id from list_my_peer_reviews. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"course_id": "<course_id>",
"assignment_id": "<assignment_id>",
"student_id": "<student_id>",
"comment": "<comment>"
},
"name": "submit_peer_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | Your review comment. The classmate and your instructor can see it. | |
| confirm | No | Set to true together with confirm_token to carry out a request you already previewed. | |
| course_id | Yes | Canvas course ID, a numeric string such as "12345". Get it from list_courses. | |
| student_id | Yes | The student whose work you are reviewing | |
| assignment_id | Yes | Assignment ID (numeric string). Get it from list_assignments or list_upcoming_assignments. | |
| confirm_token | No | The one-time token from the preview. Only use it after the user has said yes. | |
| rubric_assessment | No | Optional rubric scores keyed by criterion ID, e.g. {"_1234": {"points": 4, "comments": "Clear thesis"}}. Get criterion IDs from get_rubric. |