delete_student_exam_attempt
Deletes a student’s specific exam attempt record so they can retake the test after disconnection or an abnormal incident; requires a consent token.
Instructions
【助教特殊功能:刪除學生測驗紀錄允許重考】當學生因斷線或異常情況需要重考時,助教可刪除該名學生的特定一次作答紀錄(對應作答名單 a.js-delete 動作),釋放其測驗資格。需攜帶 UI 許可權杖。
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": {
"examId": "<examId>",
"recordId": "<recordId>",
"studentId": "<studentId>",
"consentToken": "<consentToken>"
},
"name": "delete_student_exam_attempt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| examId | Yes | 測驗 ID | |
| recordId | Yes | 欲刪除之作答紀錄 ID (recordID) | |
| studentId | Yes | 學生學號 | |
| consentToken | Yes | UI 許可權杖 (X-Consent-Token) |