remote_swarm_create
Create parallel SSH sessions to multiple machines, enabling simultaneous command broadcast for cluster and fleet management.
Instructions
Create a swarm of parallel SSH sessions to multiple machines.
Swarms allow you to connect to multiple servers simultaneously and broadcast commands. Useful for managing clusters, fleets, or performing parallel operations.
Example targets for SSH: [{ "id": "web1", "host": "10.0.0.1", "username": "admin" }, { "id": "web2", "host": "10.0.0.2", "username": "admin" }]
Example targets for GCloud: [{ "id": "vm1", "instance": "my-vm-1", "zone": "us-central1-a" }, { "id": "vm2", "instance": "my-vm-2", "zone": "us-central1-a" }]
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": {
"name": "<name>",
"method": "<method>",
"targets": "<targets>"
},
"name": "remote_swarm_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Friendly name for the swarm | |
| method | Yes | Connection method for all targets | |
| targets | Yes | Array of targets to connect to | |
| autoReconnect | No | Enable auto-reconnect for sessions (default: true) |