ssh_run_many
Run one shell command across many hosts in parallel and return per-host results. Compare versions, check services, restart boxes, or survey disk usage; each host applies its own command permissions.
Instructions
Run the same command across several hosts in parallel and return one result per host. Use to compare versions, check a service fleet-wide, restart several boxes, or survey disk usage. Each host applies its own allowCommands/denyCommands, so one host may be refused while others run; per-host status is reported rather than failing the whole call.
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": {
"hosts": "<hosts>",
"command": "<command>"
},
"name": "ssh_run_many"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts | Yes | ||
| command | Yes | ||
| timeout | No | ||
| stop_on_error | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||