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

Function call

packages/core/test/session-runner-tool-registry.test.ts:44–48  ·  view source on GitHub ↗
(name: string, id = `call-${name}`)

Source from the content-addressed store, hash-verified

42}
43const sessionID = SessionV2.ID.make("ses_registry")
44const call = (name: string, id = `call-${name}`): ToolRegistry.ExecuteInput => ({
45 sessionID,
46 ...identity,
47 call: { type: "tool-call", id, name, input: { text: name } },
48})
49
50const make = (permission?: string) => {
51 const tool = Tool.make({

Calls

no outgoing calls

Tested by

no test coverage detected