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

Function responseOf

packages/hosts/mcp/src/tool-server.test.ts:1678–1679  ·  view source on GitHub ↗
(structuredContent: unknown)

Source from the content-addressed store, hash-verified

1676 // The engine hands the response back as the execution's result, so the
1677 // structured output carries it verbatim.
1678 const responseOf = (structuredContent: unknown): unknown =>
1679 (structuredContent as { readonly result: unknown }).result;
1680
1681 it("native mode shows the client the offered scopes and returns the one it chose", async () => {
1682 const engine = makeElicitingEngine(appApproval, (r) => r);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected