get_endpoint_details
Retrieve detailed information about a specific blockchain endpoint, including configuration and capabilities, to verify compatibility and access parameters for blockchain data queries.
Instructions
Get detailed information about a specific endpoint
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpointId | Yes | The ID of the endpoint to retrieve |
Implementation Reference
- Executes the get_endpoint_details tool by retrieving the endpoint configuration using endpointManager.getEndpointById and returning its JSON representation or an error if not found.case 'get_endpoint_details': { const endpointId = args?.endpointId as string; const endpoint = endpointManager.getEndpointById(endpointId); if (!endpoint) { return { content: [ { type: 'text', text: `Endpoint not found: ${endpointId}`, }, ], isError: true, }; } return { content: [ { type: 'text', text: JSON.stringify(endpoint, null, 2), }, ], }; }
- Defines the input schema for the get_endpoint_details tool, requiring an endpointId string parameter.{ name: 'get_endpoint_details', description: 'Get detailed information about a specific endpoint', inputSchema: { type: 'object', properties: { endpointId: { type: 'string', description: 'The ID of the endpoint to retrieve', }, }, required: ['endpointId'], }, },
- src/index.ts:88-101 (registration)Registers the endpoint tools, including get_endpoint_details, by calling registerEndpointHandlers and including in the tools list served by 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:122-122 (registration)Dispatches tool execution to handleEndpointTool, which contains the logic for get_endpoint_details.(await handleEndpointTool(name, args, endpointManager)) ||
- Helper method used by the tool handler to retrieve an endpoint configuration by its ID from the config.getEndpointById(id: string): EndpointConfig | undefined { return this.config.endpoints.find(ep => ep.id === id); }