Search LOINC
loinc_searchSearch for laboratory tests, clinical observations, and measurements in LOINC (Logical Observation Identifiers Names and Codes).
Use this tool to:
Find LOINC codes for lab tests (e.g., "glucose", "hemoglobin")
Search for clinical measurements and vital signs
Look up diagnostic observations
Returns matching LOINC codes with names, components, and properties.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "loinc_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search term (test name, keyword, or partial LOINC code) | |
| offset | No | Number of results to skip, to read the next page: pass `next_offset` from the previous answer, keeping the other arguments. Default: 0 (at most 7400: the source serves at most the first 7500 results) | |
| max_results | No | Maximum number of results (1-100). Default: 25 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Matching LOINC terms in source relevance order, starting after `offset`. | |
| query | Yes | The search term as submitted. | |
| offset | Yes | Results skipped before the first one returned (the `offset` asked for). | |
| provenance | Yes | Provenance block: source, URL, data vintage, extraction instant, origin diagnostics, citation, license | |
| attribution | Yes | Canonical source URLs of this response (attribution list) | |
| next_offset | Yes | `offset` that returns the next page with the same arguments; null at the end of the results, or past the first 7,500 (the most the source serves). | |
| shown_count | Yes | Number of terms returned in items (at most max_results). | |
| total_count | Yes | Total number of LOINC terms matching the query at the source, which may exceed the items returned. |