uplus_capture_question_image
Captures and saves a screenshot of a specific question block or full page, making diagram-based questions readable when the text alone is insufficient.
Instructions
Screenshot one question block and return it as an image.
Use for figure questions — a stem whose diagram/picture carries the part
that makes the statement true or false (for example "以下模型是…" with a
crypto diagram). The question text alone cannot be answered reliably, and
the model cannot see an <img> that lives in the platform's rich text.
The tool opens the answer page, navigates to the question by its stem
(same rule as filling), and captures that question's container — not just
the viewport — so the whole figure is readable. It fills and submits
nothing. Identify the question with order (the number shown on the
page) or question_id. The result is the saved PNG path plus the image
itself; answer the question after looking at it and pass the answer to
uplus_answer_homework keyed by question_id.
output_path is optional and confined to the configured IO roots; by
default the PNG goes under the report folder's question_images/.
Set full_page=True when the figure sits outside the question block
(for example a shared table above the questions).
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_capture_question_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| task_id | Yes | ||
| course_id | Yes | ||
| full_page | No | ||
| output_path | No | ||
| question_id | No |