What If Grade
what_if_gradeEnter a hypothetical assignment score to see your recalculated Canvas course grade with group weights and drop rules applied; the score is private and not a real grade.
Instructions
Enter a hypothetical score on one assignment and get your recalculated course grade, with Canvas applying group weights and drop rules. Writes a what-if score only you can see; it is not a real grade. Undo with reset_what_if_grades. Canvas treats this as expensive; for pure math with no writes, use compute_needed_score.
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": {
"submission_id": "<submission_id>",
"score": "<score>"
},
"name": "what_if_grade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | Hypothetical score to test | |
| submission_id | Yes | Submission ID (from get_my_submission or list_my_submissions) |