run_command
Execute shell commands in a secure environment and capture their output, enabling development tasks, file operations, git commands, and package management.
Instructions
Execute shell commands and return their output. This tool allows running terminal commands within the allowed directories. Useful for development tasks, file operations, git commands, package management, etc. Commands are executed with a timeout and in a secure environment. Both stdout and stderr are captured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command to execute | |
| timeout | No | Timeout in milliseconds (default: 30 seconds) | |
| includeStderr | No | Include stderr in output | |
| workingDirectory | No | Working directory for the command (default: first allowed directory) |