UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

41 lines (40 loc) 1.57 kB
/** * Tool Utilities - Centralized tool configuration access * * Consolidates environment variable access to avoid scattered process.env calls */ import type { ToolConfig } from "../types/index.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; /** * Check if the bash command execution tool should be enabled. * This is opt-in only (defaults to false) for security reasons. * * @param toolConfig - Optional tool configuration (if available from config) * @returns true if the bash tool should be enabled */ export declare function shouldEnableBashTool(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;