set_grade
Writes one student's grade for a single subject, term, and evaluation item in Clickedu's Avaluar page, returning a preview first and saving only after explicit confirmation.
Instructions
Set ONE grade for ONE student in the 'Avaluar' page of one subject and term: one activity or section (item = its item_id or code, as get_evaluation lists them, or "final" for the final grade). grade "" clears it. Single action only, like typing in one cell and pressing Guardar (not "Guardar i tancar"); every other grade is posted back unchanged.
Without confirm=True it returns a PREVIEW and changes nothing; call again with confirm=True only after the teacher approves. Clickedu does not recalculate section or final grades on save; that is the page's 'calcular' button, which this tool does not press. If the page was saved elsewhere after this read, the write stops instead of overwriting.
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>",
"item": "<item>",
"grade": "<grade>"
},
"name": "set_grade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| grade | Yes | ||
| alu_id | Yes | ||
| confirm | No | ||
| term_id | No | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |