revise_student_mark
Modify a student's score or comment for a specific question. Optionally reopen submitted grades to make changes.
Instructions
修改学生某题分数/评语,可选重开已提交批阅并重新提交。
默认只覆盖未提交批阅中的单题分数。若成绩已经提交,调用方必须显式传
allow_reopen=true,工具才会先重开批阅。
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": {
"group_id": "<group_id>",
"publish_id": "<publish_id>",
"mark_paper_record_id": "<mark_paper_record_id>",
"record_id": "<record_id>",
"mark_mode_id": "<mark_mode_id>",
"question_id": "<question_id>",
"answer_id": "<answer_id>",
"score": "<score>"
},
"name": "revise_student_mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | 批改得分(0 ≤ score ≤ 该题满分,满分从 query_preview_student_paper 的 questions[].score 取) | |
| comment | No | 批改评语(可为空) | |
| group_id | Yes | 课程组id(通过 query_teacher_groups 获取) | |
| answer_id | Yes | 学生单题答案id(来自 query_preview_student_paper 的 questions[].answer_id 字段) | |
| record_id | Yes | 答题记录id(来自 query_test_result 的 answer_records[].record_id 字段) | |
| publish_id | Yes | 发布id(来自 query_group_tasks 的 publish_id 字段) | |
| question_id | Yes | 题目id(通过 query_paper 获取) | |
| allow_reopen | No | 是否允许先重开已提交批阅。默认 false,避免无意修改已发布成绩;确认要改已提交成绩时设为 true。 | |
| mark_mode_id | Yes | 阅卷模式id(来自 query_test_result 的 mark_mode_id 字段) | |
| submit_after | No | 修改后是否立即重新提交整卷批阅。默认 false。 | |
| is_teacher_recheck | No | 重开时是否使用复评 reset 接口。仅 allow_reopen=true 时生效。 | |
| mark_paper_record_id | Yes | 批阅记录id(来自 query_preview_student_paper 的 mark_paper_record_id 字段) |