class

Autobot::Tools::BashTool

Inherits Autobot::Tools::Tool < Reference < Object

A tool that wraps a bash script found in a skills directory.

Bash tools are auto-discovered from skills/ directories. Each executable .sh file becomes a tool the agent can invoke. The script receives arguments as positional parameters and environment variables.

Constants

Log = ::Log.for(self)
SCRIPT_TIMEOUT = 30

Constructors

new(executor : SandboxExecutor, script_path : String, tool_name : String | Nil = nil, tool_description : String | Nil = nil)
Source

Instance methods

description
Source
execute(params : Hash(String, JSON::Any)) : ToolResult
Source
name
Source
parameters
Source
script_path
Source