runCommand
Execute an allowlisted command securely, returning stdout, stderr, exit code, and timing. No shell is used for safety.
Instructions
Execute allowlisted command. Returns stdout, stderr, exit code, timing. No shell for security.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command basename (must be in allowlist, no paths) | |
| args | No | Command arguments | |
| cwd | No | Working dir (absolute or workspace-relative, default: workspace root) | |
| timeout | No | Timeout in milliseconds (default: 30000, max: 600000) |