Skip to content

normalizeBuiltInTools

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

Defined in: packages/core/src/config/shell-policy.ts:288

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>