执行命令
exec_commandExecute workspace commands with configurable working directory, environment variables, shell, and timeout. Use argv arrays for direct execution; high-risk commands require interactive approval.
Instructions
在工作区执行前台命令。优先传 argv 数组;字符串命令通过系统 shell 执行。高风险命令通过 interactive_feedback 审批。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | . | |
| env | No | ||
| shell | No | ||
| stdin | No | ||
| command | Yes | ||
| timeout_ms | No |