MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getToolPermissionContext

Function getToolPermissionContext

src/utils/hooks/execPromptHook.ts:75–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 signal: combinedSignal,
74 options: {
75 async getToolPermissionContext() {
76 const appState = toolUseContext.getAppState()
77 return appState.toolPermissionContext
78 },
79 model: hook.model ?? getSmallFastModel(),
80 toolChoice: undefined,
81 isNonInteractiveSession: true,

Callers 2

checkUnreachableRulesFunction · 0.50
analyzeContextUsageFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected