get_all_uniis
Retrieve all UNII codes from the FDA DailyMed database with pagination support for systematic access to unique substance identifiers.
Instructions
Get all available UNII codes 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: 25, max: 100) |
Implementation Reference
- src/clients/unii-client.ts:28-30 (handler)The handler implementation for 'get_all_uniis' in the UNIIClient, which delegates to searchUNIIs.
async getAllUNIIs(page: number = 1, pageSize: number = 25): Promise<PaginatedUNIIResponse> { return this.searchUNIIs({ page, pageSize }); } - src/tools.ts:164-182 (registration)Tool registration for 'get_all_uniis'.
name: "get_all_uniis", description: "Get all available UNII codes 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: 25, max: 100)", minimum: 1, maximum: 100, }, }, }, },