get_uspi
Retrieve FDA US Prescribing Information for a drug from openFDA, cited to DailyMed, with structured label sections and paged access for long sections.
Instructions
Get FDA US Prescribing Information (USPI) for a drug from openFDA (cited to DailyMed). Returns structured labelling sections with LOINC codes, verbatim. Long sections are paged: a cut section has truncated: true, total_chars and next_offset — call again with that section and offset to read on. Check drug_name: the best openFDA match may be a different product from the one you meant.
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": {
"drug": "<drug>"
},
"name": "get_uspi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug | Yes | Drug name to look up (e.g., 'metformin', 'atorvastatin') | |
| offset | No | Character offset to start each section from (default 0). To read the rest of a truncated section, call again with sections set to that one section and offset set to its next_offset. | |
| sections | No | Specific sections to retrieve (e.g., ['indications', 'adverse reactions', 'contraindications']). Returns all sections if omitted. | |
| max_chars | No | Maximum characters returned per section (default 6000). Long sections are returned a page at a time: a cut page has truncated: true, total_chars and next_offset. |