list_blockchain_services
Discover available blockchain networks supported by Grove to select the right service for your Web3 development needs across multiple chains.
Instructions
List all available blockchain services/networks supported by Grove
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional category filter (e.g., "evm", "layer2", "non-evm") |
Implementation Reference
- The handler function's switch case that implements the 'list_blockchain_services' tool. It extracts the optional category from args and calls the appropriate method on blockchainService to retrieve the list of services, then returns the JSON stringified result.case 'list_blockchain_services': { const category = args?.category as string | undefined; const services = category ? blockchainService.getServicesByCategory(category) : blockchainService.getAllServices(); return { content: [ { type: 'text', text: JSON.stringify(services, null, 2), }, ], }; }
- The tool definition object that registers the name, description, and input schema (optional category filter) for the 'list_blockchain_services' tool.{ name: 'list_blockchain_services', description: 'List all available blockchain services/networks supported by Pocket Network', inputSchema: { type: 'object', properties: { category: { type: 'string', description: 'Optional category filter (e.g., "evm", "layer2", "non-evm")', }, }, }, },
- src/index.ts:88-101 (registration)Collects all tools including those from registerBlockchainHandlers (which includes 'list_blockchain_services') into the tools array used for ListToolsRequestHandler.const tools: Tool[] = [ ...registerBlockchainHandlers(server, blockchainService), ...registerDomainHandlers(server, domainResolver), ...registerTransactionHandlers(server, advancedBlockchain), ...registerTokenHandlers(server, advancedBlockchain), ...registerMultichainHandlers(server, advancedBlockchain), ...registerContractHandlers(server, advancedBlockchain), ...registerUtilityHandlers(server, advancedBlockchain), ...registerEndpointHandlers(server, endpointManager), ...registerSolanaHandlers(server, solanaService), ...registerCosmosHandlers(server, cosmosService), ...registerSuiHandlers(server, suiService), ...registerDocsHandlers(server, docsManager), ];
- src/index.ts:115-115 (registration)In the CallToolRequestHandler, dispatches to handleBlockchainTool first, which handles 'list_blockchain_services' execution.(await handleBlockchainTool(name, args, blockchainService)) ||