MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / getExecutor

Function getExecutor

src/app/service/agent/core/tools/tab_tools.test.ts:60–65  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

58}
59
60function getExecutor(name: string) {
61 const { tools } = makeTools();
62 const tool = tools.find((t) => t.definition.name === name);
63 if (!tool) throw new Error(`Tool ${name} not found`);
64 return tool.executor;
65}
66
67describe("createTabTools", () => {
68 it("should create 5 tools", () => {

Callers 1

tab_tools.test.tsFile · 0.85

Calls 1

makeToolsFunction · 0.85

Tested by

no test coverage detected