@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and
33 lines (32 loc) • 1.22 kB
TypeScript
/**
* Tool Utilities - Centralized tool configuration access
*
* Consolidates environment variable access to avoid scattered process.env calls
*/
import type { ToolConfig } from "../config/types.js";
/**
* Check if built-in tools should be disabled
* Centralized function to replace direct process.env access
*
* @param toolConfig - Optional tool configuration (if available from config)
* @returns true if built-in tools should be disabled
*/
export declare function shouldDisableBuiltinTools(toolConfig?: ToolConfig): boolean;
/**
* Check if custom tools should be allowed
* @param toolConfig - Optional tool configuration
* @returns true if custom tools should be allowed
*/
export declare function shouldAllowCustomTools(toolConfig?: ToolConfig): boolean;
/**
* Check if MCP tools should be enabled
* @param toolConfig - Optional tool configuration
* @returns true if MCP tools should be enabled
*/
export declare function shouldEnableMCPTools(toolConfig?: ToolConfig): boolean;
/**
* Get maximum tools per provider
* @param toolConfig - Optional tool configuration
* @returns maximum number of tools per provider
*/
export declare function getMaxToolsPerProvider(toolConfig?: ToolConfig): number;