MCPcopy Index your code
hub / github.com/anomalyco/opencode / call

Function call

packages/core/test/tool-apply-patch.test.ts:117–121  ·  view source on GitHub ↗
(patchText: string, id = "call-apply-patch")

Source from the content-addressed store, hash-verified

115}
116
117const call = (patchText: string, id = "call-apply-patch") => ({
118 sessionID,
119 ...toolIdentity,
120 call: { type: "tool-call" as const, id, name: "apply_patch", input: { patchText } },
121})
122
123const exists = (target: string) =>
124 Effect.promise(() =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected