MCPcopy Index your code
hub / github.com/simstudioai/sim / markToolResultSeen

Function markToolResultSeen

apps/sim/lib/copilot/request/sse-utils.ts:48–50  ·  view source on GitHub ↗
(toolCallId: string)

Source from the content-addressed store, hash-verified

46}
47
48export function markToolResultSeen(toolCallId: string): void {
49 addToSet(seenToolResults, toolCallId)
50}
51
52export function wasToolResultSeen(toolCallId: string): boolean {
53 return seenToolResults.has(toolCallId)

Callers 5

forceFailHungToolCallFunction · 0.90
handleResultPhaseFunction · 0.90
handleClientCompletionFunction · 0.90

Calls 1

addToSetFunction · 0.85

Tested by

no test coverage detected