compare_activity_profiles
Compare bioactivity profiles across multiple compounds to identify similarities and differences in chemical behavior using PubChem data.
Instructions
Compare bioactivity profiles across multiple compounds
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_type | No | Specific activity type for comparison (optional) | |
| cids | Yes | Array of PubChem CIDs (2-50) |
Implementation Reference
- src/index.ts:1156-1158 (handler)The main handler function for the 'compare_activity_profiles' tool. It currently returns a placeholder response indicating the feature is not yet implemented.private async handleCompareActivityProfiles(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Activity profile comparison not yet implemented', args }, null, 2) }] }; }
- src/index.ts:625-636 (registration)Registration of the tool in the ListTools response, including the tool name, description, and input schema definition.{ name: 'compare_activity_profiles', description: 'Compare bioactivity profiles across multiple compounds', inputSchema: { type: 'object', properties: { cids: { type: 'array', items: { type: 'number' }, description: 'Array of PubChem CIDs (2-50)', minItems: 2, maxItems: 50 }, activity_type: { type: 'string', description: 'Specific activity type for comparison (optional)' }, }, required: ['cids'], }, },
- src/index.ts:628-636 (schema)The input schema defining the expected parameters for the tool: an array of CIDs (2-50) and optional activity_type.inputSchema: { type: 'object', properties: { cids: { type: 'array', items: { type: 'number' }, description: 'Array of PubChem CIDs (2-50)', minItems: 2, maxItems: 50 }, activity_type: { type: 'string', description: 'Specific activity type for comparison (optional)' }, }, required: ['cids'], }, },
- src/index.ts:788-789 (handler)The switch case in the CallToolRequest handler that dispatches to the specific tool handler.case 'compare_activity_profiles': return await this.handleCompareActivityProfiles(args);