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

Function renderToolResultMessage

src/utils/claudeInChrome/toolRendering.tsx:247–256  ·  view source on GitHub ↗
(output: string | MCPToolResult, _progressMessagesForMessage: unknown[], {
      verbose
    }: {
      verbose: boolean;
    })

Source from the content-addressed store, hash-verified

245 return renderChromeViewTabLink(input);
246 },
247 renderToolResultMessage(output: string | MCPToolResult, _progressMessagesForMessage: unknown[], {
248 verbose
249 }: {
250 verbose: boolean;
251 }): React.ReactNode {
252 if (!isMCPToolResult(output)) {
253 return null;
254 }
255 return renderChromeToolResultMessage(output, toolName as ChromeToolName, verbose);
256 }
257 };
258}
259function isMCPToolResult(output: string | MCPToolResult): output is MCPToolResult {

Callers

nothing calls this directly

Calls 2

isMCPToolResultFunction · 0.85

Tested by

no test coverage detected