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

Function executeJson

e2e/local/toolkits-mcp.test.ts:145–151  ·  view source on GitHub ↗
(client: Client, code: string)

Source from the content-addressed store, hash-verified

143};
144
145const executeJson = async (client: Client, code: string): Promise<Record<string, unknown>> => {
146 const result = await client.callTool({
147 name: "execute",
148 arguments: { code },
149 });
150 return JSON.parse(textFromCall(result)) as Record<string, unknown>;
151};
152
153scenario(
154 "Local toolkits · scoped MCP hides blocked and unselected connections",

Callers 1

Calls 1

textFromCallFunction · 0.85

Tested by

no test coverage detected