MCPcopy Index your code
hub / github.com/codeaashu/claude-code / checkPermissions

Function checkPermissions

src/tools/LSPTool/LSPTool.ts:210–217  ·  view source on GitHub ↗
(input, context)

Source from the content-addressed store, hash-verified

208 return { result: true }
209 },
210 async checkPermissions(input, context): Promise<PermissionDecision> {
211 const appState = context.getAppState()
212 return checkReadPermissionForTool(
213 LSPTool,
214 input,
215 appState.toolPermissionContext,
216 )
217 },
218 async prompt() {
219 return DESCRIPTION
220 },

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected