get_toxicity_info
Retrieve toxicity data for chemical compounds, including LD50 values, carcinogenicity, and mutagenicity information from PubChem's database.
Instructions
Get toxicity data including LD50, carcinogenicity, and mutagenicity
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID (CID) |
Implementation Reference
- src/index.ts:1183-1185 (handler)The main handler function for the 'get_toxicity_info' tool. It currently returns a placeholder response indicating that toxicity information retrieval is not yet implemented.private async handleGetToxicityInfo(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Toxicity info not yet implemented', args }, null, 2) }] }; }
- src/index.ts:650-660 (schema)Schema definition for the 'get_toxicity_info' tool, specifying the input parameters (requires 'cid') and description.{ name: 'get_toxicity_info', description: 'Get toxicity data including LD50, carcinogenicity, and mutagenicity', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], }, },
- src/index.ts:794-795 (registration)Tool registration in the main request handler switch statement, dispatching to the specific handler method.case 'get_toxicity_info': return await this.handleGetToxicityInfo(args);