MCPcopy Create free account
hub / github.com/anomalyco/opencode / tool-define.test.ts

File tool-define.test.ts

packages/opencode/test/tool/tool-define.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect } from "bun:test"
2import { LayerNode } from "@opencode-ai/core/effect/layer-node"
3import { Cause, Effect, Exit, Schema } from "effect"
4import { Agent } from "../../src/agent/agent"

Callers

nothing calls this directly

Calls 7

testEffectFunction · 0.90
makeToolFunction · 0.85
makeCtxFunction · 0.70
executeFunction · 0.70
findMethod · 0.65
describeFunction · 0.50
initMethod · 0.45

Tested by

no test coverage detected