calculate_grades
Recalculates one student's section and final grades in Clickedu's Avaluar page and saves them after an explicit preview and confirmation, leaving the teacher's hand-picked final grade unchanged.
Instructions
Recalculate ONE student's section and final grades in the 'Avaluar' page (the per-student 'calcular' button) and save the result (Guardar). Clickedu computes the values from the grades already entered and the weights; this tool only stores what Clickedu computed. Single student only.
Without confirm=True it returns a PREVIEW of the computed values next to the stored ones and saves nothing; call again with confirm=True only after the teacher approves. The final grade the teacher chose by hand (the final select) is left as it is; only the calculated value next to it changes.
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": {
"subject_id": "<subject_id>",
"alu_id": "<alu_id>"
},
"name": "calculate_grades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alu_id | Yes | ||
| confirm | No | ||
| term_id | No | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |