get_all_application_numbers
Retrieve all FDA application numbers from the DailyMed database with pagination support to access comprehensive drug information.
Instructions
Get all available FDA application numbers 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
- The handler implementation for 'get_all_application_numbers' in the ApplicationNumberClient class.
async getAllApplicationNumbers(page: number = 1, pageSize: number = 100): Promise<PaginatedApplicationNumberResponse> { return this.searchApplicationNumbersAdvanced({ page, pageSize }); } - src/tools.ts:184-202 (registration)Registration of the 'get_all_application_numbers' tool in the DailyMed tool definitions.
name: "get_all_application_numbers", description: "Get all available FDA application numbers 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", description: "Number of results per page (default: 100, max: 100)", minimum: 1, maximum: 100, }, }, }, }, - src/index.ts:192-204 (handler)The request handler logic that routes 'get_all_application_numbers' calls to the client.
case "get_all_application_numbers": const allAppNumbers = await this.client.getAllApplicationNumbers( args.page as number, args.pageSize as number, ); return { content: [ { type: "text", text: JSON.stringify(allAppNumbers, null, 2), }, ], };