calculate_gpa
Calculate a weighted GPA from courses (grade, credits, weight regular/honors/ap/ib), optionally resolved against a grading system in the database using the real band logic.
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": {
"courses": "<courses>"
},
"name": "calculate_gpa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale to report the GPA on (default 4.0) | |
| courses | Yes | ||
| grading_system_id | No | grading_systems id whose bands resolve course grades |