MCPcopy
hub / github.com/simstudioai/sim / serializeCallChain

Function serializeCallChain

apps/sim/lib/execution/call-chain.ts:29–31  ·  view source on GitHub ↗
(chain: string[])

Source from the content-addressed store, hash-verified

27 * Serializes a call chain array back into the header value format.
28 */
29export function serializeCallChain(chain: string[]): string {
30 return chain.join(',')
31}
32
33/**
34 * Validates that the call chain has not exceeded the maximum depth.

Callers 3

executeToolRequestFunction · 0.90
executeMcpToolFunction · 0.90
call-chain.test.tsFile · 0.90

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected