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

Function executeBody

e2e/cloud/mcp-session-cap-eviction.test.ts:109–114  ·  view source on GitHub ↗
(id: string, code: string)

Source from the content-addressed store, hash-verified

107};
108
109const executeBody = (id: string, code: string) => ({
110 jsonrpc: "2.0" as const,
111 id,
112 method: "tools/call",
113 params: { name: "execute", arguments: { code } },
114});
115
116/** Run `execute` and return the response text once the call has fully settled. */
117const execute = async (

Callers 1

executeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected