WorkspaceToolProviderContext
Defined in: packages/tools/src/workspace/provider.ts:157
Extends
Section titled “Extends”Partial<BashSandboxPolicy>.Omit<WebToolProviderContext,"timeoutMs">
Extended by
Section titled “Extended by”Properties
Section titled “Properties”allowedDomains?
Section titled “allowedDomains?”
optionalallowedDomains?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:30
Inherited from
Section titled “Inherited from”BashSandboxPolicy.allowedDomains
allowedUrls?
Section titled “allowedUrls?”
optionalallowedUrls?: readonly (string|RegExp)[]
Defined in: packages/tools/src/web/provider.ts:96
Inherited from
Section titled “Inherited from”Omit.allowedUrls
allowEnv?
Section titled “allowEnv?”
optionalallowEnv?:AllowEnv
Defined in: packages/tools/src/bash/executor-pool.ts:37
Host env vars exposed inside the sandbox. Omitted / [] → none. Part of the pool key.
Inherited from
Section titled “Inherited from”allowNetwork?
Section titled “allowNetwork?”
optionalallowNetwork?:boolean
Defined in: packages/tools/src/bash/executor-pool.ts:33
Master network switch. Domain lists apply only when this is true.
Inherited from
Section titled “Inherited from”BashSandboxPolicy.allowNetwork
allowPrivateNetwork?
Section titled “allowPrivateNetwork?”
optionalallowPrivateNetwork?:boolean
Defined in: packages/tools/src/web/provider.ts:102
Inherited from
Section titled “Inherited from”Omit.allowPrivateNetwork
allowRead?
Section titled “allowRead?”
optionalallowRead?:"**"|string[] |null
Defined in: packages/tools/src/bash/executor-pool.ts:27
Paths reads are confined to. After provider merge: a list, UNBOUNDED_ALLOW_READ
for host-wide, or null/[] for nothing readable. On options/context before merge,
omit to default to [cwd].
Inherited from
Section titled “Inherited from”allowWrite?
Section titled “allowWrite?”
optionalallowWrite?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:21
Inherited from
Section titled “Inherited from”bashTimeoutMs?
Section titled “bashTimeoutMs?”
optionalbashTimeoutMs?:number
Defined in: packages/tools/src/workspace/provider.ts:162
Overrides options.bashTimeoutMs for this call — bash (and search) only, never fetchUrl.
optionalcwd?:string
Defined in: packages/tools/src/workspace/provider.ts:160
Overrides options.cwd for this call — drives both the file jail root and the bash cwd.
deniedDomains?
Section titled “deniedDomains?”
optionaldeniedDomains?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:31
Inherited from
Section titled “Inherited from”BashSandboxPolicy.deniedDomains
denyRead?
Section titled “denyRead?”
optionaldenyRead?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:28
Inherited from
Section titled “Inherited from”denyWrite?
Section titled “denyWrite?”
optionaldenyWrite?:string[]
Defined in: packages/tools/src/bash/executor-pool.ts:29
Inherited from
Section titled “Inherited from”fetchTimeoutMs?
Section titled “fetchTimeoutMs?”
optionalfetchTimeoutMs?:number
Defined in: packages/tools/src/workspace/provider.ts:169
Overrides options.fetchTimeoutMs for this call — fetchUrl only, never bash.
Named apart from bashTimeoutMs so the two independent knobs cannot collide.
maxReadBytes?
Section titled “maxReadBytes?”
optionalmaxReadBytes?:number
Defined in: packages/tools/src/workspace/provider.ts:164
Overrides options.maxReadBytes for this call.
maxRedirects?
Section titled “maxRedirects?”
optionalmaxRedirects?:number
Defined in: packages/tools/src/web/provider.ts:105
Inherited from
Section titled “Inherited from”Omit.maxRedirects
maxResponseBytes?
Section titled “maxResponseBytes?”
optionalmaxResponseBytes?:number
Defined in: packages/tools/src/web/provider.ts:104
Inherited from
Section titled “Inherited from”Omit.maxResponseBytes
maxWriteBytes?
Section titled “maxWriteBytes?”
optionalmaxWriteBytes?:number
Defined in: packages/tools/src/workspace/provider.ts:166
Overrides options.maxWriteBytes for this call.
tmpDir?
Section titled “tmpDir?”
optionaltmpDir?:string
Defined in: packages/tools/src/bash/executor-pool.ts:42
ASRT-only. Directory used as TMPDIR inside the sandbox. Omitted → the executor
creates a per-instance directory. Native backend rejects this field.