MCPcopy Index your code
hub / github.com/winfunc/opcode / getToolResult

Function getToolResult

src/components/StreamMessage.tsx:81–84  ·  view source on GitHub ↗
(toolId: string | undefined)

Source from the content-addressed store, hash-verified

79
80 // Helper to get tool result for a specific tool call ID
81 const getToolResult = (toolId: string | undefined): any => {
82 if (!toolId) return null;
83 return toolResults.get(toolId) || null;
84 };
85
86 try {
87 // Skip rendering for meta messages that don't have meaningful content

Callers 1

StreamMessageComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected