discover
Search and filter medical calculators by specialty, clinical context, or keyword. Get a categorized list of available tools to locate the right calculator before retrieving its schema.
Instructions
🔍 統一的工具發現入口 (High-Level)
幫助 Agent 找到合適的醫學計算器。支援多種發現模式。
Args: by: 發現模式 - "all": 列出所有分類 (專科和臨床情境) - 預設 - "specialty": 依專科篩選工具 - "context": 依臨床情境篩選工具 - "keyword": 關鍵字搜尋 - "tools": 列出所有工具 value: 篩選值 (當 by 不是 "all" 或 "tools" 時必填) limit: 最多回傳幾個結果
Returns: 根據模式返回不同內容: - all: 可用的專科和情境清單 - specialty/context: 該分類下的工具清單 - keyword: 匹配的工具清單 - tools: 所有工具清單
Examples:
# 弱模型安全流程: 先 discover,再 get_tool_schema
discover(by="keyword", value="sepsis")
# → 取得候選 tool_id 之後再呼叫 get_tool_schema("qsofa_score")
# 查看所有分類 (起點)
discover()
# → {"specialties": [...], "contexts": [...]}
# 依專科篩選
discover(by="specialty", value="critical_care")
# → {"tools": [{"tool_id": "sofa_score", ...}, ...]}
# 依臨床情境篩選
discover(by="context", value="preoperative_assessment")
# → {"tools": [{"tool_id": "rcri", ...}, ...]}
# 關鍵字搜尋
discover(by="keyword", value="sepsis")
# → {"tools": [{"tool_id": "qsofa_score", ...}, ...]}
# 列出所有工具
discover(by="tools", limit=50)
# → {"tools": [...], "count": 75}規則:
不要根據記憶猜 tool_id,先用 discover() 拿 canonical id
不要直接 calculate,先用 get_tool_schema(tool_id)
⏭️ 下一步: 找到工具後,使用 get_tool_schema(tool_id) 查看參數
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | all | |
| limit | No | ||
| value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||