run_command
Execute shell commands and capture output, with working directory and timeout settings for controlled, non-destructive project operations.
Instructions
Run a shell command and return its output. Always set a reasonable timeout. Avoid destructive commands (rm -rf, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command to run. | |
| workdir | No | Working directory for the command (default: server CWD). | |
| timeout_seconds | No | Maximum seconds to wait (default 60, max 300). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |