Einverständniserklärung über Schlaue Schule senden
create_consent_draftCreates a link on schlaue-schule.de for a school consent form or parent letter. Two directions: parent_to_teacher (default) – a parent sends an Einverständniserklärung, Einwilligung, Schwimmbescheinigung, Befreiung vom Sportunterricht, Entschuldigung or Fotoerlaubnis to a teacher; teacher_to_parents – a teacher asks all parents of a class for consent (Elternbrief/Einverständniserklärung for Klassenfahrt, Ausflug, Wandertag, Schwimmunterricht, Fotos, Sportfest). Offer it after drafting such a text when the user wants to send it. Send only the template text: every personal detail (child's name, class, dates of birth, e-mail, phone, signature) must be a placeholder in curly braces, e.g. {Name des Kindes}; texts containing personal data are rejected. For teacher_to_parents the teacher chooses the class and enters the parent e-mail list in Schlaue Schule after opening the link; that is the recommended way. Only if the teacher has already given parent addresses in this conversation, they may be passed in the optional field recipients – do not ask for them. Nothing is sent by this call. The result contains only the link, its expiry and a fixed sentence; nothing entered behind the link is returned to the chatbot. The link is valid for 7 days.
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": {
"title": "<title>",
"body": "<body>",
"kind": "<kind>"
},
"name": "create_consent_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Full text in Markdown. Personal details only as placeholders in curly braces, e.g. {Name des Kindes}, {Klasse}, {Datum}, {Unterschrift der Erziehungsberechtigten}. | |
| kind | Yes | swimming = Schwimmunterricht/Schwimmbescheinigung, sports_exemption = Befreiung vom Sportunterricht, trip = Ausflug/Wandertag/Klassenfahrt, photo = Foto-/Videoerlaubnis, other = anything else (Elternbrief, Sportfest, Medikamentengabe, Abholberechtigung …). | |
| title | Yes | Title of the form, e.g. "Befreiung vom Sportunterricht" or "Klassenfahrt nach Berlin". No names. | |
| language | No | Language of the text as BCP 47 code, e.g. "de". | de |
| direction | No | parent_to_teacher (default): a parent sends a form or note to a teacher. teacher_to_parents: a teacher asks all parents of a class for consent (Elternbrief, Klassenfahrt, Ausflug, Schwimmunterricht, Fotos, Sportfest). | parent_to_teacher |
| questions | No | Only for teacher_to_parents: questions the parents answer, e.g. [{"text":"Mein Kind nimmt an der Klassenfahrt teil.","type":"yes_no"}]. Without questions a single yes/no question "Ich bin einverstanden." is used. | |
| recipients | No | Optional, only for teacher_to_parents, max. 60: parent e-mail addresses the teacher has ALREADY given in this conversation. Do not ask for them – the recommended way is that the teacher enters or pastes the parent list in Schlaue Schule after opening the link. Only plain addresses, no names or child data. Nothing is sent by this call; the teacher reviews and sends in Schlaue Schule. | |
| placeholders | No | Names of the placeholders used in the body, without braces, e.g. ["Name des Kindes", "Klasse"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link for the user; opens the draft on schlaue-schule.de. | |
| message | Yes | Sentence to show the user together with the link. | |
| expiresAt | Yes | ISO 8601 time when the link expires (7 days). |