MCPcopy Index your code
hub / github.com/cloudflare/agents / tool.test.ts

File tool.test.ts

packages/codemode/src/tests/tool.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Tests for createCodeTool — the function that wires tools + executor into
3 * a single AI SDK tool.
4 */

Callers

nothing calls this directly

Calls 5

createCodeToolFunction · 0.90
describeFunction · 0.85
createMockExecutorFunction · 0.70
executeMethod · 0.65
incrementMethod · 0.45

Tested by

no test coverage detected