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

Function send

apps/sim/lib/copilot/tools/client/run-tool-execution.ts:587–592  ·  view source on GitHub ↗
(body: string)

Source from the content-addressed store, hash-verified

585 ...(data !== undefined ? { data } : {}),
586 }
587 const send = async (body: string) =>
588 fetch(COPILOT_CONFIRM_API_PATH, {
589 method: 'POST',
590 headers: { 'Content-Type': 'application/json', ...traceparentHeader() },
591 body,
592 })
593
594 const body = JSON.stringify(basePayload)
595 const LARGE_PAYLOAD_THRESHOLD = 10 * 1024 * 1024

Callers 1

reportCompletionFunction · 0.70

Calls 1

traceparentHeaderFunction · 0.90

Tested by

no test coverage detected