search_smart_contracts_llm
Search Ethereum smart contracts using natural language queries. AI interprets your questions and matches them against 150+ contract parameters for precise results.
Instructions
LLM-powered smart contract search using AI to select from 150+ parameters
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_smart_contracts_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language query for smart contract search |
Implementation Reference
- index.js:765-766 (handler)Handler for 'search_smart_contracts_llm' tool: proxies the call to ChainFETCH API endpoint '/api/v1/ethereum/smart-contracts/llm_search' using makeRequest method with GET request and provided arguments.
case 'search_smart_contracts_llm': return await this.makeRequest('/api/v1/ethereum/smart-contracts/llm_search', 'GET', args, null, token); - index.js:569-578 (schema)Input schema definition for the tool: requires a 'query' string parameter.
inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'Natural language query for smart contract search', }, }, required: ['query'], }, - index.js:566-579 (registration)Registration of the tool in the tools list provided to MCP server via setRequestHandler for ListToolsRequestSchema.
{ name: 'search_smart_contracts_llm', description: 'LLM-powered smart contract search using AI to select from 150+ parameters', inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'Natural language query for smart contract search', }, }, required: ['query'], }, },