Skip to main content

Function: createBashTool()

createBashTool(options): ZodToolDefinition<ZodObject<{ command: ZodString; timeout: ZodOptional<ZodNumber>; }, $strip>, BashResult>

Defined in: bash.ts:100

@baleybots/agent-tools

Host coding tools for Baleybots agents — filesystem and bash, bound to a workspace root.

Parameters​

options​

defaultTimeout?​

number

description?​

string

name?​

string

requiresApproval?​

boolean

workingDir?​

string

Returns​

ZodToolDefinition<ZodObject<{ command: ZodString; timeout: ZodOptional<ZodNumber>; }, $strip>, BashResult>