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 → {}.
Parameters
Section titled “Parameters”builtInTools
Section titled “builtInTools”BuiltInToolsSetting | undefined
Returns
Section titled “Returns”Record<string, boolean | BuiltInToolConfig>