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

Function call

packages/core/test/tool-webfetch.test.ts:57–61  ·  view source on GitHub ↗
(input: typeof WebFetchTool.Input.Type, id = "call-webfetch")

Source from the content-addressed store, hash-verified

55}
56
57const call = (input: typeof WebFetchTool.Input.Type, id = "call-webfetch") => ({
58 sessionID,
59 ...toolIdentity,
60 call: { type: "tool-call" as const, id, name: "webfetch", input },
61})
62
63describe("WebFetchTool helpers", () => {
64 test("defaults format and rejects invalid timeout controls", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected