Skip to content

normalizeBuiltInTools

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

Defined in: packages/core/dist/config/shell-policy.d.ts:214

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>