Medlineplus 工具

配置文件medlineplus_tools.json 工具类型:本地 工具数量:5

此页面包含在 medlineplus_tools.json 配置文件中定义的所有工具。

可用工具

**MedlinePlus_connect_lookup_by_code**(类型:MedlinePlusRESTTool)

通过 MedlinePlus Connect 网络服务查找对应的 MedlinePlus 页面信息,使用…

MedlinePlus_connect_lookup_by_code 工具规范

工具信息:

  • 名称MedlinePlus_connect_lookup_by_code

  • 类型MedlinePlusRESTTool

  • 描述:通过 MedlinePlus Connect Web 服务使用临床/药物/测试代码(如 ICD-10 CM、RXCUI、LOINC 等)查询对应的 MedlinePlus 页面信息,支持 JSON 或 XML 格式返回。

参数:

  • ``cs``(字符串)(必填)代码系统OID,例如:ICD-10 CM=2.16.840.1.113883.6.90,RXCUI=2.16.840.1.113883.6.88,LOINC=2.16.840.1.113883.6.1,等等。

  • ``c``(字符串)(必填)要查询的特定代码值,例如“E11.9”(ICD-10 CM)或“637188”(RXCUI)。

  • dn (string) (optional) Optional, descriptive name (English) corresponding to the code, for drugs can fill in “Chantix 0.5 MG Oral Tablet”, can improve matching accuracy.

  • language (string) (optional) Return information language, “en” for English, “es” for Spanish, default “en”.

  • format (string) (optional) Return format, options “application/json” or “text/xml”, default “application/json”.

示例用法:

query = {
    "name": "MedlinePlus_connect_lookup_by_code",
    "arguments": {
        "cs": "example_value",
        "c": "example_value"
    }
}
result = tu.run(query)

**MedlinePlus_get_genetics_condition_by_name**(类型:MedlinePlusRESTTool)

Get detailed information from MedlinePlus Genetics corresponding to genetic condition name. Retur…

MedlinePlus_get_genetics_condition_by_name 工具规范

工具信息:

  • 名称: MedlinePlus_get_genetics_condition_by_name

  • 类型MedlinePlusRESTTool

  • Description: Get detailed information from MedlinePlus Genetics corresponding to genetic condition name. Returns XML data parsed into a dictionary with condition description, related genes, synonyms, and other details.

参数:

  • ``condition``(字符串)(必填项)遗传疾病的 URL 标识,例如 “alzheimer-disease”,必须与 MedlinePlus 页面路径一致。

  • format (string) (optional) Format parameter for the endpoint (note: API always returns XML regardless of this parameter).

示例用法:

query = {
    "name": "MedlinePlus_get_genetics_condition_by_name",
    "arguments": {
        "condition": "example_value"
    }
}
result = tu.run(query)

**MedlinePlus_get_genetics_gene_by_name**(类型:MedlinePlusRESTTool)

Get detailed information from MedlinePlus Genetics corresponding to gene name. Returns XML data p…

MedlinePlus_get_genetics_gene_by_name 工具规范

工具信息:

  • 名称: MedlinePlus_get_genetics_gene_by_name

  • 类型MedlinePlusRESTTool

  • Description: Get detailed information from MedlinePlus Genetics corresponding to gene name. Returns XML data parsed into a dictionary with gene function, related health conditions, synonyms, and other details.

参数:

  • ``gene``(字符串)(必填)基因名称的URL标识,例如 “BRCA1”,必须与MedlinePlus页面路径匹配。

  • format (string) (optional) Format parameter for the endpoint (note: API always returns XML regardless of this parameter).

示例用法:

query = {
    "name": "MedlinePlus_get_genetics_gene_by_name",
    "arguments": {
        "gene": "example_value"
    }
}
result = tu.run(query)

**MedlinePlus_get_genetics_index**(类型:MedlinePlusRESTTool)

下载MedlinePlus中所有遗传学条目的索引文件(XML),一次调用获取完整列表。

MedlinePlus_get_genetics_index 工具规格说明

工具信息:

  • 名称MedlinePlus_get_genetics_index

  • 类型MedlinePlusRESTTool

  • 描述:下载MedlinePlus中所有遗传学条目的索引文件(XML),一次调用即可获取完整列表。

参数:

无需参数。

示例用法:

query = {
    "name": "MedlinePlus_get_genetics_index",
    "arguments": {
    }
}
result = tu.run(query)

**MedlinePlus_按关键词搜索主题**(类型:MedlinePlusRESTTool)

通过关键词在 MedlinePlus Web 服务中搜索健康主题或其他相关信息

MedlinePlus_按关键词搜索主题 工具规格说明

工具信息:

  • 名称MedlinePlus_search_topics_by_keyword

  • 类型MedlinePlusRESTTool

  • 描述:通过关键词在MedlinePlus网络服务中搜索相关信息,涵盖健康主题或其他子库(如药物、遗传学等)。

参数:

  • ``term``(字符串)(必填)搜索关键词,例如“diabetes”,传递前需进行URL编码。

  • ``db``(字符串)(必填)指定要搜索的数据库,例如 healthTopics(英文健康主题)、healthTopicsSpanish(西班牙文健康主题)、drugs(英文药物)等。

  • rettype (string) (optional) Result return format, options: brief (concise information, default), topic (detailed XML record), all (includes all available information).

示例用法:

query = {
    "name": "MedlinePlus_search_topics_by_keyword",
    "arguments": {
        "term": "example_value",
        "db": "example_value"
    }
}
result = tu.run(query)