get_literature_references
Retrieve PubMed citations and scientific literature references by inputting a PubChem Compound ID (CID) for comprehensive research insights.
Instructions
Get PubMed citations and scientific literature references
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID (CID) |
Implementation Reference
- src/index.ts:1203-1205 (handler)The main execution handler for the 'get_literature_references' tool. It currently returns a placeholder response indicating the feature is not yet implemented.private async handleGetLiteratureReferences(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Literature references not yet implemented', args }, null, 2) }] }; }
- src/index.ts:711-717 (schema)Input schema definition for the tool, specifying the expected 'cid' parameter.inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], },
- src/index.ts:708-718 (registration)Registration of the tool in the ListTools response, defining name, description, and schema.{ 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:806-807 (registration)Switch case in the CallToolRequest handler that dispatches to the specific tool handler.case 'get_literature_references': return await this.handleGetLiteratureReferences(args);