uplus_answer_experiment
Fills an experiment report from section text, verifies required content and compliance checks, and submits it only after checks pass.
Instructions
Fill the experiment report, verify it, and submit it.
sections maps a section name (实验实现 / 实验结果 / 实验总结 …) to its
text — the output of uplus_inspect_experiment's needed_sections.
Server-derived sections from the handbook are merged in automatically; a
supplied value overrides them.
The report is built from the downloaded 资料 template when one exists,
otherwise from the built-in format. Before anything is uploaded the
report must pass the inspection gate: non-empty body, no leftover
placeholders, content that matches this experiment, and the compliance
checklist (teacher-template cover fields, 实验名称 field, screenshots when
the handbook demands them, handbook requirement coverage, AI-sounding
meta talk, repetition, layout). A failed check returns the reasons and
submits nothing; force=True downgrades the checklist to warnings.
With submit=True (default) a passing report is uploaded and submitted,
and the page is re-read until 「已提交」+「撤回」 appear — a mere upload is
never reported as a successful submission. An already-submitted
experiment is not re-submitted. submit=False stops after generating
and verifying. student_name / student_id override the identity in
the personal config.
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": {
"course_id": "<course_id>",
"exp_id": "<exp_id>",
"stu_exp_id": "<stu_exp_id>",
"sections": "<sections>"
},
"name": "uplus_answer_experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| exp_id | Yes | ||
| submit | No | ||
| sections | Yes | ||
| course_id | Yes | ||
| stu_exp_id | Yes | ||
| student_id | No | ||
| student_name | No | ||
| template_path | No |