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

Function getIntegrationToolSchemaCacheKey

apps/sim/lib/copilot/chat/payload.ts:73–79  ·  view source on GitHub ↗
(
  userId: string,
  workspaceId: string | undefined,
  schemaSurface: string
)

Source from the content-addressed store, hash-verified

71})
72
73function getIntegrationToolSchemaCacheKey(
74 userId: string,
75 workspaceId: string | undefined,
76 schemaSurface: string
77): string {
78 return JSON.stringify([userId, workspaceId ?? null, schemaSurface])
79}
80
81function cloneToolSchemas(toolSchemas: ToolSchema[]): ToolSchema[] {
82 return toolSchemas.map((tool) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected