MCPcopy
hub / github.com/CopilotKit/CopilotKit / stringifyHandlerResult

Function stringifyHandlerResult

packages/bot/src/tools.ts:86–90  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

84}
85export const parseToolArgs = validateSchema;
86export function stringifyHandlerResult(value: unknown): string {
87 if (value == null) return "";
88 if (typeof value === "string") return value;
89 return JSON.stringify(value);
90}

Callers 2

runAgentLoopFunction · 0.85
tools.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…