analyze_molecular_complexity
Evaluate molecular complexity and synthetic accessibility using PubChem Compound ID (CID) for chemical analysis and research.
Instructions
Analyze molecular complexity and synthetic accessibility
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID (CID) |
Implementation Reference
- src/index.ts:1117-1119 (handler)The handler function that executes the tool logic for 'analyze_molecular_complexity'. Currently implemented as a placeholder returning a not-implemented message.private async handleAnalyzeMolecularComplexity(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Molecular complexity analysis not yet implemented', args }, null, 2) }] }; }
- src/index.ts:551-561 (registration)Registration of the 'analyze_molecular_complexity' tool in the ListTools response, including name, description, and input schema.{ name: 'analyze_molecular_complexity', description: 'Analyze molecular complexity and synthetic accessibility', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], }, },
- src/index.ts:774-775 (registration)Dispatch case in the CallToolRequestSchema handler that routes calls to the tool's handler function.case 'analyze_molecular_complexity': return await this.handleAnalyzeMolecularComplexity(args);
- src/index.ts:554-560 (schema)Input schema definition for the 'analyze_molecular_complexity' tool, specifying required 'cid' parameter.inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, }, required: ['cid'], },