search_patents
Find chemical patents and intellectual property data by searching with PubChem Compound IDs or patent queries to access relevant chemical innovation information.
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 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:699-706 (schema)Input schema definition for the 'search_patents' tool, specifying optional cid or query parameters.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:696-707 (registration)Tool registration in the list of available tools, including name, description, and input schema.{ 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)Dispatcher switch case that routes calls to the 'search_patents' handler function.case 'search_patents': return await this.handleSearchPatents(args);