Skip to content

WorkspaceToolProviderContext

Defined in: workspace/provider.ts:85

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

Defined in: workspace/provider.ts:95

Overrides options.allowedUrls for this call — see WebToolProviderContext.allowedUrls.


optional allowPrivateNetwork?: boolean

Defined in: workspace/provider.ts:97

Overrides options.allowPrivateNetwork for this call.


optional bashTimeoutMs?: number

Defined in: workspace/provider.ts:89

Overrides options.bashTimeoutMs for this call — bash (and search) only, never fetchUrl.


optional cwd?: string

Defined in: workspace/provider.ts:87

Overrides options.cwd for this call — drives both the file jail root and the bash cwd.


optional fetchTimeoutMs?: number

Defined in: workspace/provider.ts:100

Overrides options.fetchTimeoutMs for this call — fetchUrl only, never bash. Named apart from bashTimeoutMs so the two independent knobs cannot collide.


optional maxReadBytes?: number

Defined in: workspace/provider.ts:91

Overrides options.maxReadBytes for this call.


optional maxRedirects?: number

Defined in: workspace/provider.ts:104

Overrides options.maxRedirects for this call.


optional maxResponseBytes?: number

Defined in: workspace/provider.ts:102

Overrides options.maxResponseBytes for this call.


optional maxWriteBytes?: number

Defined in: workspace/provider.ts:93

Overrides options.maxWriteBytes for this call.