add_observation
Write one student’s session observation and optionally email the family; preview changes first, then confirm to save without altering other records.
Instructions
Write ONE student's free-text observation ('Observacions') for ONE session, optionally ticking "Enviar correu electrònic" so Clickedu emails the family. Single action only.
Without confirm=True it returns a PREVIEW (session, student, the current and new text, whether the family gets an email) and changes nothing. Call again with confirm=True only after the teacher approves. Every other student's attendance, homework and observations are replayed unchanged.
The text replaces this student's observation for this session; to add to an existing one, include the existing text (shown in the preview).
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>",
"text": "<text>"
},
"name": "add_observation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cgap | Yes | ||
| text | Yes | ||
| alu_id | Yes | ||
| sessio | Yes | ||
| confirm | No | ||
| notify_family | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |