(buildFn: (params: object) => TestToolInvocation)
| 42 | private readonly buildFn: (params: object) => TestToolInvocation; |
| 43 | |
| 44 | constructor(buildFn: (params: object) => TestToolInvocation) { |
| 45 | super('test-tool', 'Test Tool', 'A tool for testing', Kind.Other, {}); |
| 46 | this.buildFn = buildFn; |
| 47 | } |
| 48 | |
| 49 | build(params: object): ToolInvocation<object, ToolResult> { |
| 50 | return this.buildFn(params); |
nothing calls this directly
no outgoing calls
no test coverage detected