WebAccessInfo
Defined in: web/provider.ts:22
The describeWebEnv tool’s payload — see createWebToolProvider.
Properties
Section titled “Properties”allowedSchemes
Section titled “allowedSchemes”allowedSchemes: readonly
string[]
Defined in: web/provider.ts:24
URL schemes this call’s fetchUrl will fetch.
allowedUrls
Section titled “allowedUrls”allowedUrls: readonly
string[]
Defined in: web/provider.ts:31
The URL patterns exempt from the address check for this call. Empty when nothing is exempt.
Reported as display strings (String(pattern)) rather than raw UrlPattern values — a
RegExp serializes to "{}" under JSON.stringify, silently losing the pattern once an AI
SDK turn serializes the tool result.
allowPrivateNetwork
Section titled “allowPrivateNetwork”allowPrivateNetwork:
boolean
Defined in: web/provider.ts:34
true when this call’s fetchUrl has the address check disabled entirely — see
AddressPolicy.allowPrivateNetwork. Its own field, not folded into allowedUrls.
maxRedirects
Section titled “maxRedirects”maxRedirects:
number
Defined in: web/provider.ts:40
Redirect hops this call’s fetchUrl will follow before refusing.
maxResponseBytes
Section titled “maxResponseBytes”maxResponseBytes:
number
Defined in: web/provider.ts:38
The response byte cap this call’s fetchUrl actually enforces.
timeoutMs
Section titled “timeoutMs”timeoutMs:
number
Defined in: web/provider.ts:36
The wall-clock timeout (ms) this call’s fetchUrl actually enforces.