get_literature_references
Retrieve PubMed citations and scientific literature references for chemical compounds using PubChem Compound IDs to support research and verification.
Instructions
Get PubMed citations and scientific literature references
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID (CID) |
Implementation Reference
- src/index.ts:708-718 (registration)Tool registration in the tools array, including name, description, and input schema definition.
{ name: 'get_literature_references', description: 'Get PubMed citations and scientific literature references', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], }, }, - src/index.ts:1203-1205 (handler)The main handler function that implements the logic for the get_literature_references tool. Currently a placeholder.
private async handleGetLiteratureReferences(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Literature references not yet implemented', args }, null, 2) }] }; } - src/index.ts:806-807 (registration)Dispatch case in the MCP request handler that routes calls to the specific tool handler.
case 'get_literature_references': return await this.handleGetLiteratureReferences(args); - src/index.ts:711-717 (schema)Input schema definition for validating arguments to the get_literature_references tool.
inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], },