search_patents
Find chemical patents and intellectual property data using PubChem Compound IDs or search queries to identify patent coverage for compounds.
Instructions
Search for chemical patents and intellectual property information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | No | PubChem Compound ID (CID) | |
| query | No | Patent search query (alternative to CID) |
Implementation Reference
- src/index.ts:1199-1201 (handler)The handler function for the 'search_patents' tool. It currently returns a placeholder response indicating that the patent search is not yet implemented.private async handleSearchPatents(args: any) { return { content: [{ type: 'text', text: JSON.stringify({ message: 'Patent search not yet implemented', args }, null, 2) }] }; }
- src/index.ts:696-707 (schema)The tool definition including name, description, and input schema for 'search_patents' registered in the ListTools response.{ name: 'search_patents', description: 'Search for chemical patents and intellectual property information', inputSchema: { type: 'object', properties: { cid: { type: ['number', 'string'], description: 'PubChem Compound ID (CID)' }, query: { type: 'string', description: 'Patent search query (alternative to CID)' }, }, required: [], }, },
- src/index.ts:804-805 (registration)The switch case in the CallToolRequest handler that dispatches 'search_patents' calls to the handleSearchPatents method.case 'search_patents': return await this.handleSearchPatents(args);