run_shell_command
Execute shell commands to capture stdout, stderr, and exit code for real-time system monitoring and control. Commands are disabled by default and require user confirmation for destructive actions.
Instructions
Execute an arbitrary shell (bash) command and return stdout, stderr, and exit code. DISABLED by default for safety. Enable by adding {"allow_shell": true} to ~/.syscontrol/config.json. Timeout is 30s by default (max 120s). Always confirm with the user before running destructive commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Bash command to run (e.g. 'ls -la ~/Desktop', 'git log -5'). | |
| timeout | No | Timeout in seconds (1–120, default 30). |