Documentation
¶
Index ¶
- func GetCache() *sync.Map
- func GetEnabledToolNames() []string
- func GetEnabledTools() map[string]tools.Tool
- func GetLogger() *logrus.Logger
- func GetTool(name string) (tools.Tool, bool)
- func GetToolNamesWithExtendedHelp() []string
- func GetTools() map[string]tools.Tool
- func Init(l *logrus.Logger)
- func Register(tool tools.Tool)
- func RegisterProxiedTool(tool tools.Tool)
- func ShouldRegisterTool(toolName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnabledToolNames ¶ added in v0.22.0
func GetEnabledToolNames() []string
GetEnabledToolNames returns a sorted list of enabled tool names
func GetEnabledTools ¶ added in v0.24.0
GetEnabledTools returns all tools that are enabled for MCP server registration
func GetToolNamesWithExtendedHelp ¶ added in v0.22.0
func GetToolNamesWithExtendedHelp() []string
GetToolNamesWithExtendedHelp returns a sorted list of enabled tool names that provide extended help
func RegisterProxiedTool ¶ added in v0.52.0
RegisterProxiedTool adds a tool proxied from an upstream MCP server to the registry. Only called if `proxy` tool is enabled via ENABLE_ADDITIONAL_TOOLS and configured with upstreams. This is used for tools discovered from upstream proxy servers. The caller (RegisterUpstreamTools) is responsible for checking that proxy is enabled before calling this function. Proxied tools bypass the normal ENABLE_ADDITIONAL_TOOLS check but still respect DISABLED_TOOLS.
func ShouldRegisterTool ¶ added in v0.44.1
ShouldRegisterTool checks if a tool should be registered based on: 1. DISABLED_TOOLS or DISABLED_FUNCTIONS (legacy) - explicit disable, highest priority 2. Tool's enablement requirement 3. ENABLE_ADDITIONAL_TOOLS (explicit enable)
Types ¶
This section is empty.