MCPcopy Create free account
hub / github.com/Noumena-Network/code / getPowerShellTool

Function getPowerShellTool

src/tools.ts:167–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165} from './tools/REPLTool/constants.js'
166/* eslint-disable @typescript-eslint/no-require-imports */
167const getPowerShellTool = () => {
168 if (!isPowerShellToolEnabled()) return null
169 return (
170 require('./tools/PowerShellTool/PowerShellTool.js') as typeof import('./tools/PowerShellTool/PowerShellTool.js')
171 ).PowerShellTool
172}
173/* eslint-enable @typescript-eslint/no-require-imports */
174
175/**

Callers 2

getAllBaseToolsFunction · 0.85

Calls 1

isPowerShellToolEnabledFunction · 0.85

Tested by

no test coverage detected