Function: selectWebSearchEndpoint()
selectWebSearchEndpoint(
endpoints,requested,config,suppressedFamilies?): {class?:"chat-thinking"|"chat-balanced"|"chat-fast"|"embedding";description?:string;dimension?:number;displayName?:string;family?:string;modelServiceName?:string;name:string;profile?: {cost?:number;quality?:number;speed?:number; };reasoningEfforts?: ("none"|"minimal"|"low"|"medium"|"high"|"xhigh"|"max")[];serviceNames?:Record<string,string>;state?:string;status?: {deprecated:boolean; };supportsTools?:boolean;task?:string; } |null
Select one deployed web-search endpoint using family and capability policy.
Parameters
Section titled “Parameters”endpoints
Section titled “endpoints”readonly object[]
requested
Section titled “requested”string | undefined
config
Section titled “config”WebSearchModelSelectionOptions
suppressedFamilies?
Section titled “suppressedFamilies?”ReadonlySet<ModelFamily> = ...
Returns
Section titled “Returns”{ class?: "chat-thinking" | "chat-balanced" | "chat-fast" | "embedding"; description?: string; dimension?: number; displayName?: string; family?: string; modelServiceName?: string; name: string; profile?: { cost?: number; quality?: number; speed?: number; }; reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; serviceNames?: Record<string, string>; state?: string; status?: { deprecated: boolean; }; supportsTools?: boolean; task?: string; } | null