compare_activity_profiles
Compare bioactivity profiles across multiple PubChem compounds to identify similarities and differences in their biological effects.
Instructions
Compare bioactivity profiles across multiple compounds
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cids | Yes | Array of PubChem CIDs (2-50) | |
| activity_type | No | Specific activity type for comparison (optional) |
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:628-635 (schema)Input schema defining the expected parameters for the tool: an array of PubChem CIDs (required, 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 (registration)Registration and dispatch logic in the CallToolRequestSchema handler's switch statement, which calls the tool handler.case 'compare_activity_profiles': return await this.handleCompareActivityProfiles(args);
- src/index.ts:625-637 (registration)Tool registration in the ListToolsRequestSchema response, including name, description, and input schema.{ 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'], }, },