exec
Runs a single shell command on a specified remote connection, with server-side blocking of dangerous commands and heavy operations on cluster login nodes.
Instructions
在远程连接上执行单条 shell 命令。危险命令与集群登录节点重操作会被服务端拒绝。
Args: connection: 连接 label(见 connection_list) command: 要执行的 shell 命令 timeout: 超时秒数(默认 60)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No | ||
| connection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||