runCommandBatch
Execute multiple shell commands sequentially on a specified SSH host to automate remote tasks in one batch.
Instructions
Executes multiple shell commands sequentially on an SSH host
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": {
"hostAlias": "<hostAlias>",
"commands": "<commands>"
},
"name": "runCommandBatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | List of shell commands to execute | |
| hostAlias | Yes | Alias or hostname of the SSH host |