WebToolProviderOptions
Defined in: web/provider.ts:104
Defaults for createWebToolProvider’s fetchUrl — every WebToolProviderContext field, used
when a call’s toolProviderContext doesn’t override it, plus resolver, which has no per-call
override because it’s fixed at construction time.
Extends
Section titled “Extends”Properties
Section titled “Properties”allowedUrls?
Section titled “allowedUrls?”
optionalallowedUrls?: readonly (string|RegExp)[]
Defined in: web/provider.ts:82
Inherited from
Section titled “Inherited from”WebToolProviderContext.allowedUrls
allowPrivateNetwork?
Section titled “allowPrivateNetwork?”
optionalallowPrivateNetwork?:boolean
Defined in: web/provider.ts:83
Inherited from
Section titled “Inherited from”WebToolProviderContext.allowPrivateNetwork
maxRedirects?
Section titled “maxRedirects?”
optionalmaxRedirects?:number
Defined in: web/provider.ts:86
Inherited from
Section titled “Inherited from”WebToolProviderContext.maxRedirects
maxResponseBytes?
Section titled “maxResponseBytes?”
optionalmaxResponseBytes?:number
Defined in: web/provider.ts:85
Inherited from
Section titled “Inherited from”WebToolProviderContext.maxResponseBytes
resolver?
Section titled “resolver?”
optionalresolver?:HostnameResolver
Defined in: web/provider.ts:106
Hostname resolver override, fixed at construction time — see FetchUrlToolOptions.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: web/provider.ts:84
Inherited from
Section titled “Inherited from”WebToolProviderContext.timeoutMs