upsert_question_entry
Update or add a question bank entry by stable ID, requiring explicit user confirmation before saving changes.
Instructions
WARNING: Changes stored DeepTutor learning data. Check the target ID and values; call only when the learner explicitly requests this action. Import or update a native Question Bank entry by stable question ID
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_id": "<question_id>",
"question": "<question>",
"confirm": "<confirm>"
},
"name": "upsert_question_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Set true when this write is authorized by the current user request | |
| options | No | ||
| question | Yes | Question text | |
| difficulty | No | Difficulty | |
| is_correct | No | Whether learner was correct | |
| origin_ref | No | Source reference | |
| explanation | No | Explanation | |
| question_id | Yes | Stable question ID | |
| user_answer | No | Learner's answer | |
| question_type | No | Question type | |
| correct_answer | No | Reference answer | |
| material_title | No | Source title |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | 原始 DeepTutor 工具返回值;其具体字段由对应 DeepTutor API 决定。 |