MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / isAutoSearchExtraToolsMode

Function isAutoSearchExtraToolsMode

src/utils/searchExtraTools.ts:71–74  ·  view source on GitHub ↗

* Check if ENABLE_SEARCH_EXTRA_TOOLS is set to auto mode (auto or auto:N).

(value: string | undefined)

Source from the content-addressed store, hash-verified

69 * Check if ENABLE_SEARCH_EXTRA_TOOLS is set to auto mode (auto or auto:N).
70 */
71function isAutoSearchExtraToolsMode(value: string | undefined): boolean {
72 if (!value) return false
73 return value === 'auto' || value.startsWith('auto:')
74}
75
76/**
77 * Get the auto-enable percentage from env var or default.

Callers 1

getSearchExtraToolsModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected