MCPcopy
hub / github.com/codeaashu/claude-code / getToolsForDefaultPreset

Function getToolsForDefaultPreset

src/tools.ts:179–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177 * @returns Array of tool names
178 */
179export function getToolsForDefaultPreset(): string[] {
180 const tools = getAllBaseTools()
181 const isEnabled = tools.map(tool => tool.isEnabled())
182 return tools.filter((_, i) => isEnabled[i]).map(tool => tool.name)
183}
184
185/**
186 * Get the complete exhaustive list of all tools that could be available

Callers 2

parseBaseToolsFromCLIFunction · 0.85

Calls 1

getAllBaseToolsFunction · 0.85

Tested by

no test coverage detected