isToolAllowed
isToolAllowed(
name,patterns):boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/toolMatching.ts:43
True iff name matches any of patterns (see toolNameMatchesPattern).
An empty pattern list matches nothing.
Parameters
Section titled “Parameters”string
patterns
Section titled “patterns”readonly string[]
Returns
Section titled “Returns”boolean