Mesh Tools#
Configuration File: mesh_tools.json
Tool Type: Local
Tools Count: 3
This page contains all tools defined in the mesh_tools.json configuration file.
Available Tools#
MeSH_get_descriptor (Type: MeSHTool)#
Get the complete source record for a MeSH descriptor by its ID. Returns convenient parsed fields …
MeSH_get_descriptor tool specification
Tool Information:
Name:
MeSH_get_descriptorType:
MeSHToolDescription: Get the complete source record for a MeSH descriptor by its ID. Returns convenient parsed fields plus the unprojected JSON-LD record, including concepts, preferred terms, allowable qualifiers, history/public notes, tree numbers, dates, and active status. The returned identifier is checked against the requested ID. Example: D009369 returns ‘Neoplasms’ with tree number C04.
Parameters:
descriptor_id(string) (required) MeSH descriptor ID. Examples: ‘D009369’ (Neoplasms), ‘D003920’ (Diabetes Mellitus), ‘D001241’ (Aspirin), ‘D001921’ (Brain), ‘D000998’ (Antiviral Agents).
Example Usage:
query = {
"name": "MeSH_get_descriptor",
"arguments": {
"descriptor_id": "example_value"
}
}
result = tu.run(query)
MeSH_search_descriptors (Type: MeSHTool)#
Search MeSH (Medical Subject Headings) descriptors by label. MeSH is NLM’s controlled vocabulary …
MeSH_search_descriptors tool specification
Tool Information:
Name:
MeSH_search_descriptorsType:
MeSHToolDescription: Search MeSH (Medical Subject Headings) descriptors by label. MeSH is NLM’s controlled vocabulary for indexing biomedical literature in PubMed. Descriptors are the main headings in MeSH that represent biomedical concepts including diseases, drugs, anatomy, organisms, and procedures. Supports exact, contains, and prefix matching. The public lookup endpoint has a hard 50-result limit and exposes neither a total count nor an offset; when the requested limit is reached, metadata marks the result as possibly truncated and callers should refine the query. Example: searching ‘Neoplasms’ with exact match returns descriptor D009369.
Parameters:
query(string) (required) Descriptor label to search for. Examples: ‘Neoplasms’, ‘Diabetes Mellitus’, ‘Aspirin’, ‘Brain’, ‘Escherichia coli’.match(string) (optional) Match type: ‘exact’ for exact match, ‘contains’ for partial match (default), ‘startsWith’ for prefix match.limit(integer) (optional) Maximum number of results (default: 20, max: 50).
Example Usage:
query = {
"name": "MeSH_search_descriptors",
"arguments": {
"query": "example_value"
}
}
result = tu.run(query)
MeSH_search_terms (Type: MeSHTool)#
Search MeSH terms (entry terms/synonyms) by label. MeSH terms include preferred descriptor names,…
MeSH_search_terms tool specification
Tool Information:
Name:
MeSH_search_termsType:
MeSHToolDescription: Search MeSH terms (entry terms/synonyms) by label. MeSH terms include preferred descriptor names, alternative entry terms, synonyms, and common names. Supports exact, contains, and prefix matching. The public lookup endpoint has a hard 50-result limit and exposes neither a total count nor an offset; when the requested limit is reached, metadata marks the result as possibly truncated and callers should refine the query.
Parameters:
query(string) (required) Term label to search for. Examples: ‘tumor’, ‘heart attack’, ‘aspirin’, ‘blood pressure’, ‘DNA repair’.match(string) (optional) Match type: ‘exact’ for exact match, ‘contains’ for partial match (default), ‘startsWith’ for prefix match.limit(integer) (optional) Maximum number of results (default: 20, max: 50).
Example Usage:
query = {
"name": "MeSH_search_terms",
"arguments": {
"query": "example_value"
}
}
result = tu.run(query)