MCPcopy Create free account
hub / github.com/anomalyco/opencode / isShell

Function isShell

packages/opencode/src/acp/tool.ts:294–297  ·  view source on GitHub ↗
(toolName: string)

Source from the content-addressed store, hash-verified

292}
293
294function isShell(toolName: string) {
295 const tool = toolName.toLocaleLowerCase()
296 return tool === "bash" || tool === "shell"
297}
298
299export const mapToolKind = toToolKind
300export const extractLocations = toLocations

Callers 2

toolTitleFunction · 0.85
rawInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected