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

Function call

packages/core/test/tool-write.test.ts:91–95  ·  view source on GitHub ↗
(input: typeof WriteTool.Input.Type, id = "call-write")

Source from the content-addressed store, hash-verified

89}
90
91const call = (input: typeof WriteTool.Input.Type, id = "call-write") => ({
92 sessionID,
93 ...toolIdentity,
94 call: { type: "tool-call" as const, id, name: "write", input },
95})
96
97const it = testEffect(Layer.empty)
98

Callers 1

tool-write.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected