list_categories
Retrieve all available blockchain endpoint categories to access data across 70+ networks including Ethereum, Solana, Cosmos, and Sui for token analytics, transaction inspection, and multi-chain comparisons.
Instructions
List all available endpoint categories
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The execution handler for the 'list_categories' tool. Retrieves categories using endpointManager.getCategories() and returns them as JSON-formatted text content.case 'list_categories': { const categories = endpointManager.getCategories(); return { content: [ { type: 'text', text: JSON.stringify(categories, null, 2), }, ], }; }
- src/handlers/endpoint-handlers.ts:68-75 (registration)Tool definition and registration in the endpoints tools array, including name, description, and schema.{ name: 'list_categories', description: 'List all available endpoint categories', inputSchema: { type: 'object', properties: {}, }, },
- Input schema definition for the list_categories tool, specifying an empty object (no input parameters required).inputSchema: { type: 'object', properties: {}, },
- Supporting method in EndpointManager class that returns the list of configured categories from the server config./** * Get all available categories */ getCategories(): string[] { return this.config.categories; }
- src/index.ts:96-96 (registration)Invocation of registerEndpointHandlers to include endpoint tools, such as list_categories, in the server's tool list....registerEndpointHandlers(server, endpointManager),