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

Function callGetMeCode

e2e/selfhost/mcp-enterprise-managed-auth.test.ts:154–157  ·  view source on GitHub ↗
(slug: string, connection: string)

Source from the content-addressed store, hash-verified

152// Sandbox code for the agent path: one addressed MCP tool call, with the
153// ToolResult envelope returned as a value (tool failures are values here).
154const callGetMeCode = (slug: string, connection: string) => `
155const result = await tools.${slug}.org.${connection}.get_me({});
156return { ok: result.ok, payload: result.ok ? result.data : result.error };
157`;
158
159type SandboxToolOutcome = {
160 readonly ok: boolean;

Calls

no outgoing calls

Tested by

no test coverage detected