scobees_upload_material
Upload a local file to a task as learning material or a sample solution, and optionally replace an existing attachment after the upload succeeds.
Instructions
Hängt eine lokale Datei an eine Aufgabe an – als Material (PDF, Bild, HTML-Simulation, interaktive Seite, GeoGebra-Datei …) oder als Musterlösung. ersetzt_attachment_id: nach erfolgreichem Hochladen wird dieser alte Anhang gelöscht (z. B. bei einer neuen Fassung derselben Datei); schlägt der Upload fehl, bleibt der alte unangetastet.
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": {
"aufgabe_id": "<aufgabe_id>",
"file_path": "<file_path>"
},
"name": "scobees_upload_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absoluter lokaler Pfad | |
| aufgabe_id | Yes | ||
| als_musterloesung | No | ||
| ersetzt_attachment_id | No | ATT-ID eines bestehenden Anhangs/einer Musterlösung an derselben Aufgabe, der nach erfolgreichem Upload gelöscht wird (aus scobees_get_aufgabe) |