Interface: ResolvedWebSearchConfig
Concrete, validated config the runtime + tools read.
Properties
Section titled “Properties”allowList
Section titled “allowList”allowList:
UrlAllowList
Compiled allow-list (permit-all under the unrestricted policy).
approval
Section titled “approval”approval:
ApprovalPolicy
Default per-tool approval policy.
fetchMaxLength
Section titled “fetchMaxLength”fetchMaxLength:
number
fuzzy:
boolean
Whether to fuzzy-match loose model names.
fuzzyThreshold
Section titled “fuzzyThreshold”fuzzyThreshold:
number
Fuse.js fuzzy threshold.
maxCitations
Section titled “maxCitations”maxCitations:
number
model?
Section titled “model?”
optionalmodel?:string
Pinned web-search model, when configured (else undefined - use fallbacks).
modelFallbacks
Section titled “modelFallbacks”modelFallbacks: readonly
string[]
Ordered fallback model candidates (Gemini, then GPT, then a floor).
modelSource
Section titled “modelSource”modelSource:
ModelSource
Where model came from, which decides whether an unsupported pin is fatal.
scrapeFallback
Section titled “scrapeFallback”scrapeFallback:
boolean
Whether to scrape-fallback when no native web-search model is deployed.
timeoutMs
Section titled “timeoutMs”timeoutMs:
number
urlPolicy
Section titled “urlPolicy”urlPolicy:
UrlPolicyMode
The named URL policy in force.
webSearchTools
Section titled “webSearchTools”webSearchTools:
Record<string,unknown>
Provider -> tool-spec override map, merged over the built-in defaults.