MCPcopy Create free account
hub / github.com/TanStack/ai / idOf

Function idOf

testing/e2e/tests/tool-call-lifecycle.spec.ts:25–25  ·  view source on GitHub ↗
(c: Record<string, unknown>)

Source from the content-addressed store, hash-verified

23 expect(error).toBeNull()
24
25 const idOf = (c: Record<string, unknown>) => c.toolCallId as string
26 const starts = chunks.filter(
27 (c) => c.type === 'TOOL_CALL_START' && idOf(c) === 'call_weather',
28 )

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected