get_lesson
Fetch a lesson's title, structure, and publish status from the current classroom. Compact by default; include full Markdown content when needed.
Instructions
读回一节课: 标题 / 结构 (概念+习题清单) / 发布状态 (published: published_at 非空=已发布, 空=草稿) / 正文。默认紧凑 (include_content 缺省 false): 只给结构与元数据 + content_chars 全文字数 + 开头节选, 不吐全文 — token 经济。要读全文 (批改前审教材 / resume-teaching 冷启动接课) 显式传 include_content: true, 返回体多一个 content_markdown 字段 (可能很长, 确认要再开)。只能读当前 pair 的课, 其他 pair (或不存在) 的 lesson_id 一律 NOT_FOUND。
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": {
"lesson_id": "<lesson_id>"
},
"name": "get_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lesson_id | Yes | 必填; 要读回的 lesson id (lsn_ 前缀), 须属当前 pair | |
| include_content | No | 可选, 默认 false (紧凑: 结构+元数据+节选)。true = 附 content_markdown 全文 — 只在真要读课文时开。 |