derivation_insert_note
Insert explanatory notes into any derivation step without altering calculations. Supports assumptions, limitations, observations, corrections, clinical and physical insights; auto-renumbers later steps.
Instructions
在指定位置插入說明
═══════════════════════════════════════════════════════════════════════
📝 用於在推導中間補充說明,不改變計算流程
═══════════════════════════════════════════════════════════════════════
插入後會自動重新編號後續步驟。
Args:
after_step: 在此步驟之後插入(0 = 最開頭)
note: 說明內容
note_type: 說明類型
- "assumption": 📋 假設條件
- "limitation": ⚠️ 限制/警告
- "observation": 💡 觀察/洞見
- "correction": 🔧 修正建議
- "clinical": 🏥 臨床意義
- "physical": 🔬 物理意義
related_variables: 相關變數
Returns:
插入結果
Example:
# 在步驟 5 和 6 之間插入說明
derivation_insert_note(
after_step=5,
note="此處假設達穩態,實際臨床可能需要 5 個半衰期",
note_type="clinical",
related_variables=["t_half"]
)
→ {"success": True, "inserted_at": 6, "new_step_count": 17}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| note_type | No | observation | |
| after_step | Yes | ||
| session_id | No | ||
| related_variables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||