MCPcopy Create free account
hub / github.com/coder/aibridge / hasInjectableTools

Method hasInjectableTools

intercept/responses/base.go:322–324  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

320}
321
322func (i *responsesInterceptionBase) hasInjectableTools() bool {
323 return i.mcpProxy != nil && len(i.mcpProxy.ListTools()) > 0
324}
325
326// responseCopier helper struct to send original response to the client
327type responseCopier struct {

Callers 1

injectToolsMethod · 0.95

Calls 1

ListToolsMethod · 0.65

Tested by

no test coverage detected