255
switch (getClaudePermissionKind(toolName)) {
256
case 'shell':
258
case 'write':
260
case 'read':
261
return localize('claude.permission.read.title', "Read file?");
262
case 'url':
264
case 'skill':
266
case 'mcp': {
268
>
? toolName.slice(MCP_TOOL_PREFIX.length).split('__')[0]
269
: undefined;
271
>
? localize('claude.permission.mcp.title', "Allow tool from {0}?", serverName)
272
: localize('claude.permission.default.title', "Allow tool call?");
274
case 'custom-tool':
275
default:
277
}
278
}