add_concept
Add a concept to a lesson, automatically linking it to the lesson's course and updating the lesson's concept list. Supports source references and idempotent retries.
Instructions
为 lesson 添加一个 concept. course_id 自动取 lesson 所属的 course, 不需要单独传. 新 concept 会自动登记进 lesson.concept_ids, 不需要(也不应该)再手动补写.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| lesson_id | Yes | ||
| source_refs | No | SourceRef[];每项须为对象 {type, url?, file_ref?, page?, ...},type 取封闭枚举 | |
| idempotency_key | No | 可选。幂等键 (建议 uuid) —— 同一 key 重放此调用返回首次结果, 不重复写入. 网络重试/断线重连时带上同一个 key, 而不是猜"上次到底写没写". | |
| short_definition | No |