从课件生成讲解并按门禁写入
run_lecture_pipelineReads a PPT/PDF lecture deck to return an outline skeleton, then validates an agent-written draft and writes or formats it in Notion only after content review passes.
Instructions
读课件并给出结构骨架。讲解正文由 Agent 通过 draft(JSON 字符串)提供;不传 draft 则只返回骨架,不写入。传入 draft 后跑内容审。不过关默认不写入、不美化。review 为 true 时把待审稿写入 parentPageId,仍然不美化。apply 为 true 时只在内容审通过之后美化,公式被改坏会回滚。本工具不调用模型。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | 内容审通过后套用 warm-notes。失败的稿不会美化 | |
| draft | No | Agent 写好的讲解 JSON(LectureDraft)。不传则只返回骨架 | |
| title | No | 页面标题。不传则用课件标题 | |
| review | No | 内容审失败时仍写入待审页。不因此放行美化 | |
| themeId | No | 主题 id:clean-docs、warm-notes、focus-brief。缺省用 clean-docs | |
| deckPath | Yes | 本机上的 .pdf 或 .pptx 路径 | |
| parentPageId | No | 新页面的父页面 id。不传则只返回审稿结果,不写入 |