Skip to content

normalizeBuiltInTools

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

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

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>