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

Function buildSuggestions

src/tools/WebFetchTool/WebFetchTool.ts:309–318  ·  view source on GitHub ↗
(ruleContent: string)

Source from the content-addressed store, hash-verified

307} satisfies ToolDef<InputSchema, Output>)
308
309function buildSuggestions(ruleContent: string): PermissionUpdate[] {
310 return [
311 {
312 type: 'addRules',
313 destination: 'localSettings',
314 rules: [{ toolName: WEB_FETCH_TOOL_NAME, ruleContent }],
315 behavior: 'allow',
316 },
317 ]
318}
319

Callers 1

checkPermissionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected