exec_batch
Execute commands on multiple servers simultaneously. Manage batch operations with confirmation for dangerous commands.
Instructions
在多台服务器批量执行命令。批量操作风险极高!包含生产环境服务器时会有特别警告。危险命令需要 confirmationToken。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>",
"servers": "<servers>"
},
"name": "exec_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | 要执行的命令 | |
| servers | Yes | 服务器列表 | |
| timeout | No | 命令超时时间(毫秒) | |
| confirmationToken | No | 危险命令确认 token |