Skip to content

Interface: ResolvedWebSearchConfig

Concrete, validated config the runtime + tools read.

allowList: UrlAllowList

Compiled allow-list (permit-all under the unrestricted policy).


approval: ApprovalPolicy

Default per-tool approval policy.


fetchMaxLength: number


fuzzy: boolean

Whether to fuzzy-match loose model names.


fuzzyThreshold: number

Fuse.js fuzzy threshold.


maxCitations: number


optional model?: string

Pinned web-search model, when configured (else undefined - use fallbacks).


modelFallbacks: readonly string[]

Ordered fallback model candidates (Gemini, then GPT, then a floor).


modelSource: ModelSource

Where model came from, which decides whether an unsupported pin is fatal.


scrapeFallback: boolean

Whether to scrape-fallback when no native web-search model is deployed.


timeoutMs: number


urlPolicy: UrlPolicyMode

The named URL policy in force.


webSearchTools: Record<string, unknown>

Provider -> tool-spec override map, merged over the built-in defaults.