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

Function loadDescription

src/components/mcp/MCPToolDetailView.tsx:68–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 if ($[10] !== tool) {
67 t5 = () => {
68 const loadDescription = async function loadDescription() {
69 try {
70 const desc = await tool.description({}, {
71 isNonInteractiveSession: false,
72 toolPermissionContext: {
73 mode: "default" as const,
74 additionalWorkingDirectories: new Map(),
75 alwaysAllowRules: {},
76 alwaysDenyRules: {},
77 alwaysAskRules: {},
78 isBypassPermissionsModeAvailable: false
79 },
80 tools: []
81 });
82 setToolDescription(desc);
83 } catch {
84 setToolDescription("Failed to load description");
85 }
86 };
87 loadDescription();
88 };
89 t6 = [tool];

Callers 1

MCPToolDetailViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected