delete_exam
Deletes an exam only when no students have submitted responses; blocks deletion if any student has completed it and requires an X-Consent-Token.
Instructions
刪除測驗。【重要安全守衛】:僅限 0 位學生作答時方可刪除!若已有學生測驗完成 (testedCount > 0),將強制阻擋!必須攜帶 X-Consent-Token。
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>",
"consentToken": "<consentToken>"
},
"name": "delete_exam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| examId | Yes | 測驗 ID | |
| consentToken | Yes | 使用者 UI 許可權杖 (X-Consent-Token) |