run_command
Run shell commands in a sandbox and capture stdout, stderr, and exit code for safe execution from MCP clients.
Instructions
在沙箱中执行一条 shell 命令,返回 stdout、stderr 和退出码。注意:command 只填命令本身(如 echo hello),不要传 JSON 包装。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | 要执行的命令 | |
| timeout_ms | No | 超时毫秒数,默认 15000 |