Target grade
get_target_gradeCalculate points needed on remaining graded work to reach a target class percent, for selected courses or all active classes.
Instructions
Points needed on the work that is left to reach a target percent in each class. Adds up the points earned on graded work and the points the work left is worth, then says how many of those points you still need. target_percent is the percent you want, from 0 to 100. Pass course_ids to limit it, or leave empty for all active classes. Use this when the user asks 'What do I need to score to get a 90?' or 'Can I still get an A in this class?'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_ids | No | Classroom course IDs to check. Leave empty for all active classes. | |
| target_percent | Yes | The class percent you want, from 0 to 100. For example 90. |