MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / EnabledNames

Method EnabledNames

internal/tools/registry.go:136–145  ·  view source on GitHub ↗

EnabledNames returns the enabled tools sorted by name.

()

Source from the content-addressed store, hash-verified

134
135// EnabledNames returns the enabled tools sorted by name.
136func (r *Registry) EnabledNames() []string {
137 names := []string{}
138 for name, t := range r.Tools {
139 if t.IsEnabled() {
140 names = append(names, name)
141 }
142 }
143 sort.Strings(names)
144 return names
145}
146
147// LaunchNames returns the enabled tools' CLI binary names (deduplicated and
148// sorted). This is the canonical list of binaries `cam launch` and the

Callers 2

LaunchNamesMethod · 0.95
pickTargetsFunction · 0.80

Calls 1

IsEnabledMethod · 0.45

Tested by

no test coverage detected