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

Function invoke

e2e/scenarios/oauth-scope-insufficient.test.ts:262–269  ·  view source on GitHub ↗
(address: string)

Source from the content-addressed store, hash-verified

260 };
261
262 const invoke = (address: string) =>
263 Effect.gen(function* () {
264 const executed = yield* client.executions.execute({
265 payload: { code: invokeByAddressCode(address, {}), autoApprove: true },
266 });
267 expect(executed.status, "the sandbox execution completed").toBe("completed");
268 return JSON.parse(executed.text) as ToolEnvelope;
269 });
270
271 // THE guarantee: the scope-insufficient 403 carries its own code
272 // and reconnect guidance — and no oauth.start hint, because

Calls 2

invokeByAddressCodeFunction · 0.70
executeMethod · 0.65

Tested by

no test coverage detected