pull_exam_set
Pulls exam problems by type from a problem set and verifies per-type counts against summaries, erroring on mismatch to prevent incomplete data.
Instructions
按题型取题,并用 summaries 核对各题型题量(不一致会报错,不会返回残缺数据)。
Args: problem_set_id: 题目集 ID(来自 pta_list_exams)。 problem_types: 只要这些题型,缺省全部。 mode: index 只回 id/题型/标题(概览);digest 只回题面(首行即标题);content 题面更长。 offset / limit: 分页,limit=0 表示全部(digest 建议 15~30)。 max_content_chars: 题面截断长度。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | index | |
| limit | No | ||
| offset | No | ||
| problem_types | No | ||
| problem_set_id | Yes | ||
| max_content_chars | No |