elearning_submit_tugas
Uploads a student's assignment answer file to the e-learning system and completes submission, automatically handling webcam photo authorization when required.
Instructions
Mengunggah berkas jawaban tugas mahasiswa ke sistem, melakukan bypass frame hitam otomatis jika tugas meminta otorisasi foto webcam, dan menyelesaikan pengumpulan.
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": {
"tugas_id": "<tugas_id>",
"file_path": "<file_path>"
},
"name": "elearning_submit_tugas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tugas_id | Yes | ID tugas mahasiswa (item.id atau tugas_id) yang akan dikumpulkan | |
| file_path | Yes | Path absolut atau relatif ke file lokal yang hendak diunggah (misal .pdf, .docx, .zip) | |
| bypass_photo | No | Jika true (default), otomatis mengirim frame citra JPEG hitam valid ke endpoint foto_siswa bila tugas berada pada status 2 (kamera wajib). |