terminal_execute
Run shell commands in a persistent Debian Docker environment; files persist between calls while shell state resets. Supports stdin piping, absolute working directories, and configurable timeouts.
Instructions
Execute a shell command in one persistent Debian Docker computer. Commands run in bash. Each call is independent — no state (shell variables, working directory) persists between calls (however filesystem does persist). Use the working_directory parameter or chain commands with && to control execution context.
To write files or pass data without shell escaping, use the stdin parameter (e.g., command="cat > file.txt" with content in stdin). Commands time out after 120 seconds by default (override with the timeout parameter for long-running operations).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | List of arguments for direct execution (mutually exclusive with command). | |
| stdin | No | Content to pipe to stdin. | |
| command | No | Shell command string (mutually exclusive with args). | |
| timeout | No | Timeout in seconds (defaults to server config). | |
| working_directory | No | Working directory for the command (must be absolute). |