executeCommand
Run shell commands like npm test or git status in your local terminal to verify code after changes, install dependencies, or execute builds.
Instructions
在本地终端安全运行 shell 命令(如 npm test, git status, npm run build)。当修改代码后需要验证是否报错,或者需要安装依赖、运行构建时使用此工具。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | 要执行的 Shell 命令 | |
| timeoutMs | No | 命令超时时间(毫秒) |