MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / ActivateTool

Method ActivateTool

tools/registry.go:134–140  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

132}
133
134func (r *ToolRegistry) ActivateTool(name string) Tool {
135 tool := r.deferred.Activate(name)
136 if tool != nil {
137 r.registerActive(tool, tool.Name())
138 }
139 return tool
140}
141
142func (r *ToolRegistry) SearchDeferred(query string) []Tool {
143 return r.deferred.Search(query)

Calls 3

registerActiveMethod · 0.95
ActivateMethod · 0.80
NameMethod · 0.65