add_simulated_quiz
Add a simulated quiz to a specific course, validating questions and answer choices. Use an idempotency key for safe retries.
Instructions
为指定 course 添加一份模拟卷 (SimulatedQuiz, round 3 Quiz 通电). 与 REST POST /pairs/:pairId/simulated-quizzes 1:1 镜像 — course_id 必须存在, questions 非空; single_choice/multi_choice 题必须带 choices 且 reference_answer 的每一项都在 choices 里 (multi_choice 用逗号分隔编码多个正确项). 开放题 (short_answer/essay, 或省略 question_type) 不判分, 留给学习者自评 reference_answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| questions | Yes | ||
| idempotency_key | No | 可选。幂等键 (建议 uuid) —— 同一 key 重放此调用返回首次结果, 不重复写入. 网络重试/断线重连时带上同一个 key, 而不是猜"上次到底写没写". | |
| agent_skill_used | No |