ssh_exec_batch
Run multiple SSH commands in sequence on a remote host, with configurable timeout and optional abort on first error.
Instructions
批量执行多条命令,支持错误中断。
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": {
"host": "<host>",
"commands": "<commands>"
},
"name": "ssh_exec_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| timeout | No | ||
| commands | Yes | ||
| stop_on_error | No |