class LittleGhost::Tools::Shell

Shell lets an agent run a command through the configured Sandbox.

By default it accepts an argument vector, so model-supplied values are not interpreted as shell syntax, and each command may run for 30 seconds. Subclass it to accept a shell command string or to let the model choose a bounded timeout:

class SupportShell < LittleGhost::Tools::Shell
  command_mode :string
  timeout default: 120, maximum: 900
  exclusive true
end

The child environment is cleared and each output stream is limited to 1 MB unless #max_output_bytes is configured. Commands may spawn children when the backend supports them. These defaults reduce accidental exposure but do not create an isolation boundary; the configured Sandbox remains responsible for security.