# Class LittleGhost::Tools::Shell

Documentation version: Edge

Canonical HTML: https://littleghostai.org/docs/LittleGhost/Tools/Shell.html

Shell lets an agent run one executable through the configured Sandbox. It
accepts an argument vector, so model-supplied values are not interpreted as
shell syntax.

The child environment is cleared, runtime is limited to 30 seconds, and each
output stream is limited to 1 MB. 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.

## Inheritance

`LittleGhost::Tools::Shell < LittleGhost::Tool`

## Instance methods

<a id="method-i-call"></a>
### `#call`

```ruby
#call(input)
```

Executes `input["command"]` and returns a JSON result containing
standard output, standard error, exit status, and success.
