Target grade
get_target_gradeCalculate the score required on remaining Canvas coursework in one course to reach a target percent, using graded points or Canvas’s current percent. Enter course ID or name and target percent.
Instructions
Work out what score is needed on the remaining Canvas work in one course to reach a target percent. Pass course_id as the Canvas course ID or as the course name and target_percent as a number from 0 to 100. If Canvas reports a current percent for that course, pass current_percent to use it instead of computing from graded points alone. Example: "What do I need on the rest of my work in Networking 1 to get an 85 percent?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | Canvas course ID, the number Canvas shows for the course, or the course name such as "Networking 1". Ask get_my_courses for the list of IDs and names. | |
| target_percent | Yes | Target course percent, from 0 to 100. | |
| current_percent | No | Optional, use the percent Canvas reports for the course instead of computing from graded points. |