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

Method IsEnabled

internal/providers/providers.go:54–59  ·  view source on GitHub ↗

IsEnabled reports whether the endpoint participates in tool launches. A nil Enabled field is treated as "true" to match Python.

()

Source from the content-addressed store, hash-verified

52// IsEnabled reports whether the endpoint participates in tool launches. A nil
53// Enabled field is treated as "true" to match Python.
54func (e Endpoint) IsEnabled() bool {
55 if e.Enabled == nil {
56 return true
57 }
58 return *e.Enabled
59}
60
61// Clients returns the supported_client field split into a normalized slice.
62func (e Endpoint) Clients() []string {

Calls

no outgoing calls