delete_questions
Preview deletable and blocked question IDs with a dry run. Confirm deletion to permanently remove questions after automatic backup and audit logging.
Instructions
🔴 安全删题(只能删散题)。confirm=False(默认)=dry_run 预览:返回 deletable/blocked 清单不动库; confirm=True 才真删——删前自动备份主行+正文 JSON(返回 backup_path),随删全部附属表行并写审计。
阻删闸(命中即拒删该 id):试卷/导入卷/书架书/教辅书/解题模型母题/活血缘母题/讲义引用。 单次上限 500;id 一律字符串传(雪花号截尾)。删除不可逆——真删前先 dry_run 给用户过目。
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": {
"question_ids": "<question_ids>"
},
"name": "delete_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| confirm | No | ||
| backup_dir | No | ||
| question_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||