uplus_audit_homework
Audit one homework read-only for completeness by listing unanswered objective questions even after submission, and count subjective, programming, and attachment items separately.
Instructions
Read-only completeness audit for one homework (no withdraw, no submit).
Every question is read from the student-side detail, so an already
submitted homework can be audited safely. The result lists which objective
questions carry no answer; subjective / programming / attachment items are
counted separately and never make the homework "incomplete". Fix a gap by
withdrawing (if withdrawable), then uplus_answer_homework.
The API status understates (a handed-in homework may read as not submitted),
so withdrawable comes from the page's real button state; set
refresh_page_state=False to skip that page read and trust the API.
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": {
"task_id": "<task_id>",
"course_id": "<course_id>"
},
"name": "uplus_audit_homework"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| course_id | Yes | ||
| refresh_page_state | No |