mark_homework
Set one student's homework status for a single Clickedu session—fets, no fets, or no demanats—with an optional note and family email. Returns a preview until confirmed.
Instructions
Set ONE student's homework ('Deures') for ONE session: "fets", "no fets" or "no demanats", with an optional homework note, and optionally tick "Enviar correu electrònic" so Clickedu emails the family. Single action only.
Without confirm=True it returns a PREVIEW and changes nothing; call again with confirm=True only after the teacher approves. Every other student's data is replayed unchanged. An empty note keeps the existing homework note.
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": {
"cgap": "<cgap>",
"sessio": "<sessio>",
"alu_id": "<alu_id>"
},
"name": "mark_homework"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cgap | Yes | ||
| note | No | ||
| alu_id | Yes | ||
| sessio | Yes | ||
| status | No | no fets | |
| confirm | No | ||
| notify_family | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |