Skip to content

BashExecutorRunOptions

Defined in: packages/tools/src/bash/executor.ts:80

cwd: string

Defined in: packages/tools/src/bash/executor.ts:82

Working directory the command runs in.


optional signal?: AbortSignal

Defined in: packages/tools/src/bash/executor.ts:86

Aborts the command early — wired from the AI SDK tool call’s own abortSignal.


timeoutMs: number

Defined in: packages/tools/src/bash/executor.ts:84

Wall-clock timeout in milliseconds — the command is killed if it runs past this.