Skip to content

normalizeBuiltInTools

normalizeBuiltInTools(builtInTools): Record<string, boolean | BuiltInToolConfig>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:114

Normalize the widened BuiltInToolsSetting to a plain lookup keyed by tool name. The array form maps each name to true; the object form passes through unchanged; absent → {}.

BuiltInToolsSetting | undefined

Record<string, boolean | BuiltInToolConfig>