get_punch_day
Retrieve the complete content of a punch day, including goals, modules with items, and review, for display or round-trip editing via upsert.
Instructions
读回「第 N 天」完整内容 → {ok, goals, modules, review}(展示页/生成器回读共用)。
modules 结构与 upsert_punch_day 入参同构:计算模块带 items:[{q,a}]; 🔴 返回与 upsert 入参同构(round-trip 语义):轮换位返 {type:'rotating',title,qids}—— 不含题面(改字回读→upsert 直接可用);要渲染态题面走 BE /teacher/punch/preview (blocks 由 BE 现取 block_json 组装,agent 无需自行拉题)。 review = {status, issues:[{module,seq,kind,note,resolved}]}。 🔴 局部改一天内容 = 先 get 拿全量 → 改 → 整天 upsert_punch_day 回灌(覆盖语义)。 参数: book_id 字符串;day 第几天(1 起)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| book_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||