scobees_create_wahlpflicht
Create a compulsory-elective assignment container that requires learners to complete a minimum number of subtasks, then add subtasks under its parent ID.
Instructions
Legt eine Wahlpflichtaufgabe an: ein Container, aus dem Lernende eine Mindestanzahl an Unteraufgaben lösen. Unteraufgaben danach mit scobees_create_aufgabe (parent_id = diese ID) anlegen. Eine bestehende Aufgabe lässt sich ab scobees 94.6 auch mit scobees_move hineinschieben (sie verliert dabei ihren Aufgabentyp); heraus kommt eine Unteraufgabe nicht mehr.
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": {
"parent_id": "<parent_id>",
"name": "<name>"
},
"name": "scobees_create_wahlpflicht"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | Hex-Farbe | #c88503 |
| parent_id | Yes | ||
| cover_image_path | No | Lokales Titelbild, optional | |
| description_html | No | ||
| mindest_aufgaben | No | Wie viele Unteraufgaben müssen gelöst werden |