MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / executeBody

Function executeBody

e2e/cloud/mcp-sse-replay.test.ts:34–39  ·  view source on GitHub ↗
(id: string, code: string)

Source from the content-addressed store, hash-verified

32};
33
34const executeBody = (id: string, code: string) => ({
35 jsonrpc: "2.0" as const,
36 id,
37 method: "tools/call",
38 params: { name: "execute", arguments: { code } },
39});
40
41const mcpHeaders = (bearer: string, sessionId?: string) => ({
42 accept: JSON_AND_SSE,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected