Skip to main content

shell_tool

Function shell_tool 

Source
pub fn shell_tool(description: Option<String>) -> Result<FunctionTool>
Expand description

The harness shell built-in (makeShell(builtinTools.shell)): the SDK’s stateless sandbox shell, whose schema is command and timeout only. description replaces the SDK’s default description (ShellConfig.description).

§Errors

None in practice; make_shell fails only on an invalid default timeout, which this does not set.