Skip to content

@sqlrooms/webcontainer / createWebContainerBashTool

Function: createWebContainerBashTool() ​

createWebContainerBashTool(store): Tool<{ command: string; }, WebContainerBashToolOutput>

Parameters ​

ParameterType
storeWebContainerStoreLike

Returns ​

Tool<{ command: string; }, WebContainerBashToolOutput>

Deprecated ​

Use createWebContainerToolkit instead for access to bash, readFile, and writeFile tools.