remote_swarm_exec
Broadcast a single command to every session in a swarm for parallel execution, returning aggregated output from all remote targets.
Instructions
Broadcast a command to all sessions in a swarm (parallel execution).
Returns aggregated output from all targets. Use for running the same command across multiple machines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute on all targets | |
| swarmId | Yes | Swarm ID | |
| parallel | No | Execute in parallel (default: true). Set false for sequential. | |
| waitTime | No | Override wait time (ms). Uses smart-wait if not provided. | |
| stopOnError | No | Stop on first error when running sequentially |