208 lines
6.7 KiB
JSON
208 lines
6.7 KiB
JSON
[
|
|
{
|
|
"name": "search_drugs",
|
|
"description": "Search drugs by brand name, generic name, or YJ code. Returns list of matching drugs with yj_code, brand name, generic name, and category.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"query": {
|
|
"type": "string",
|
|
"description": "Search query: drug brand name, generic name, or YJ code."
|
|
},
|
|
"kind": {
|
|
"type": "string",
|
|
"enum": ["auto", "brand", "generic", "yj"],
|
|
"description": "Search type. 'auto' searches all fields.",
|
|
"default": "auto"
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Maximum number of results.",
|
|
"default": 10
|
|
}
|
|
},
|
|
"required": ["query"]
|
|
}
|
|
},
|
|
{
|
|
"name": "list_categories",
|
|
"description": "List all L1/L2 drug categories (pharmacological classification) with drug counts per category.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "list_drugs_in_category",
|
|
"description": "List all drugs (generic → brand names) under a specific L2 pharmacological category code.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"l2_code": {
|
|
"type": "string",
|
|
"description": "3-digit L2 category code."
|
|
},
|
|
"limit_generics": {
|
|
"type": "integer",
|
|
"description": "Maximum number of generic names to return.",
|
|
"default": 50
|
|
}
|
|
},
|
|
"required": ["l2_code"]
|
|
}
|
|
},
|
|
{
|
|
"name": "get_drug_master",
|
|
"description": "Get basic information for a drug by yj_code: brand name, generic name, pharmacological category, regulatory classification, manufacturer, revision date.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"yj_code": {
|
|
"type": "string",
|
|
"description": "12-character YJ code."
|
|
}
|
|
},
|
|
"required": ["yj_code"]
|
|
}
|
|
},
|
|
{
|
|
"name": "get_drug_interactions",
|
|
"description": "Search drug interactions. With drug_a only: all interactions for that drug. With both drug_a and drug_b: bidirectional interaction between A and B. Filter by severity (併用禁忌/併用注意) or keyword.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"drug_a_yj": {
|
|
"type": "string",
|
|
"description": "YJ code for drug A."
|
|
},
|
|
"drug_b_yj": {
|
|
"type": "string",
|
|
"description": "YJ code for drug B (optional, for pairwise lookup)."
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"description": "Filter by severity: '併用禁忌' or '併用注意'."
|
|
},
|
|
"keyword": {
|
|
"type": "string",
|
|
"description": "Search keyword in drug_b_class, mechanism, or clinical_effect."
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Maximum number of results.",
|
|
"default": 30
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "get_drug_restrictions",
|
|
"description": "Search drug restrictions (contraindications, precautions) by patient condition. condition_type options: 疾患, 腎機能障害, 肝機能障害, 生殖能, 妊婦, 授乳婦, 小児等, 高齢者, 過敏症, 遺伝子多型, その他. severity options: 禁忌, 原則禁忌, 慎重投与.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"drug_yj": {
|
|
"type": "string",
|
|
"description": "YJ code for the drug."
|
|
},
|
|
"condition_type": {
|
|
"type": "string",
|
|
"description": "Patient condition type to filter by."
|
|
},
|
|
"severity": {
|
|
"type": "string",
|
|
"description": "Filter by severity: 禁忌, 原則禁忌, or 慎重投与."
|
|
},
|
|
"keyword": {
|
|
"type": "string",
|
|
"description": "Search keyword in condition_text."
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Maximum number of results.",
|
|
"default": 30
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "get_drug_dosing",
|
|
"description": "Get dosing information for a drug, optionally filtered by patient segment. patient_segment options: 成人, 小児等, 高齢者, 腎機能障害患者, 肝機能障害患者, 透析患者, 妊婦.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"drug_yj": {
|
|
"type": "string",
|
|
"description": "YJ code for the drug."
|
|
},
|
|
"patient_segment": {
|
|
"type": "string",
|
|
"description": "Patient segment to filter by (e.g., 成人, 高齢者, 腎機能障害患者)."
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Maximum number of results.",
|
|
"default": 20
|
|
}
|
|
},
|
|
"required": ["drug_yj"]
|
|
}
|
|
},
|
|
{
|
|
"name": "search_section_text",
|
|
"description": "Full-text search in drug package insert sections. Returns matching sections with snippets. Use section_filter to narrow by chapter title (e.g., '副作用', '禁忌', '妊婦', '相互作用').",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"keyword": {
|
|
"type": "string",
|
|
"description": "Search keyword."
|
|
},
|
|
"section_filter": {
|
|
"type": "string",
|
|
"description": "Filter by section title substring (e.g., '副作用', '禁忌', '妊婦').",
|
|
"default": ""
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Maximum number of results.",
|
|
"default": 30
|
|
}
|
|
},
|
|
"required": ["keyword"]
|
|
}
|
|
},
|
|
{
|
|
"name": "list_drug_chapters",
|
|
"description": "List all chapter titles for a drug's package insert. Use yj_full (full YJ code with revision suffix). Returns section titles with line numbers.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"yj_full": {
|
|
"type": "string",
|
|
"description": "Full YJ code (with revision suffix, e.g., 3399007H1021_1_21)."
|
|
}
|
|
},
|
|
"required": ["yj_full"]
|
|
}
|
|
},
|
|
{
|
|
"name": "read_drug_chapter",
|
|
"description": "Read the verbatim text of a specific chapter from a drug's package insert. section_title must match exactly from list_drug_chapters output.",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"yj_full": {
|
|
"type": "string",
|
|
"description": "Full YJ code."
|
|
},
|
|
"section_title": {
|
|
"type": "string",
|
|
"description": "Exact section title from list_drug_chapters (e.g., '9.2 腎機能障害患者', '11.1 重大な副作用')."
|
|
}
|
|
},
|
|
"required": ["yj_full", "section_title"]
|
|
}
|
|
}
|
|
]
|