get_all_drug_names
Retrieve a paginated list of all drug names from the FDA's DailyMed database for comprehensive reference and lookup.
Instructions
Get all available drug names in the DailyMed database with pagination support
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (1-based, default: 1) | |
| pageSize | No | Number of results per page (default: 100, max: 100) |
Implementation Reference
- src/clients/drug-name-client.ts:91-93 (handler)The actual implementation of the tool, calling the advanced search.
async getAllDrugNames(page: number = 1, pageSize: number = 100): Promise<PaginatedDrugNameResponse> { return this.searchDrugNamesAdvanced({ page, pageSize }); } - src/tools.ts:84-95 (registration)The definition and schema registration of the get_all_drug_names tool.
name: "get_all_drug_names", description: "Get all available drug names in the DailyMed database with pagination support", inputSchema: { type: "object", properties: { page: { type: "number", description: "Page number for pagination (1-based, default: 1)", minimum: 1, }, pageSize: { type: "number",