Skip to content

createBashToolProvider

createBashToolProvider(options): ToolProvider<BashProviderTools, BashToolProviderContext | undefined>

Defined in: bash/provider.ts:130

ToolProvider wrapping createBashTool so cwd/timeoutMs can be set per agent.run() call via toolProviderContext (set by the workflow/host, not the model) instead of being fixed at construction time. The “command-only sandbox” primitive — no file jail attached; see createWorkspaceToolProvider for the combined file+bash+fetch surface.

BashToolProviderOptions

ToolProvider<BashProviderTools, BashToolProviderContext | undefined>