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 | number, code: string)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected