MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getMergedTools

Function getMergedTools

source code/tools.ts:385–391  ·  view source on GitHub ↗
(
  permissionContext: ToolPermissionContext,
  mcpTools: Tools,
)

Source from the content-addressed store, hash-verified

383 * @returns Combined array of built-in and MCP tools
384 */
385export function getMergedTools(
386 permissionContext: ToolPermissionContext,
387 mcpTools: Tools,
388): Tools {
389 const builtInTools = getTools(permissionContext)
390 return [...builtInTools, ...mcpTools]
391}

Callers

nothing calls this directly

Calls 1

getToolsFunction · 0.85

Tested by

no test coverage detected