bash
Execute shell commands in a persistent environment with state retention. Run scripts, inspect files, and manage workflows with maintained directory and environment variables.
Instructions
Run commands in a persistent shell. State, including the current directory and exported environment variables, persists across calls for this agent.
You don't have access to the internet via this tool.
State is persistent across command calls and discussions with the user.
To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.
Please avoid commands that may produce a very large amount of output.
Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The bash command to run. Relative path is preferred in the command. |