MCPcopy Create free account
hub / github.com/anomalyco/opencode / clientReturning

Function clientReturning

packages/opencode/test/mcp/catalog.test.ts:7–11  ·  view source on GitHub ↗
(result: unknown)

Source from the content-addressed store, hash-verified

5const options = { toolCallId: "call_mcp", abortSignal: new AbortController().signal } as any
6
7function clientReturning(result: unknown) {
8 return {
9 callTool: async () => result,
10 } as unknown as Client
11}
12
13function mcpTool() {
14 return {

Callers 1

catalog.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected