get_endpoint_details
Retrieve detailed information about specific blockchain endpoints to understand their capabilities and configuration for accessing blockchain data across multiple networks.
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
- src/handlers/endpoint-handlers.ts:28-41 (registration)Tool registration object defining the name, description, and input schema for 'get_endpoint_details'.{ 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'], }, },
- Input schema specifying the required 'endpointId' string parameter for the tool.inputSchema: { type: 'object', properties: { endpointId: { type: 'string', description: 'The ID of the endpoint to retrieve', }, }, required: ['endpointId'],
- Handler function that retrieves the endpoint details by ID from the EndpointManager and returns them as JSON, 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), }, ], }; }
- src/index.ts:96-96 (registration)Call to registerEndpointHandlers which includes the get_endpoint_details tool in the server's tools list....registerEndpointHandlers(server, endpointManager),
- src/index.ts:122-122 (registration)Invocation of the endpoint tool handler in the main tool dispatcher, routing calls to get_endpoint_details to its case.(await handleEndpointTool(name, args, endpointManager)) ||