Skip to content

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.

optional allowedUrls?: readonly (string | RegExp)[]

Defined in: web/provider.ts:82

WebToolProviderContext.allowedUrls


optional allowPrivateNetwork?: boolean

Defined in: web/provider.ts:83

WebToolProviderContext.allowPrivateNetwork


optional maxRedirects?: number

Defined in: web/provider.ts:86

WebToolProviderContext.maxRedirects


optional maxResponseBytes?: number

Defined in: web/provider.ts:85

WebToolProviderContext.maxResponseBytes


optional resolver?: HostnameResolver

Defined in: web/provider.ts:106

Hostname resolver override, fixed at construction time — see FetchUrlToolOptions.


optional timeoutMs?: number

Defined in: web/provider.ts:84

WebToolProviderContext.timeoutMs