host_exec
Run shell commands concurrently across multiple SSH hosts, returning exit codes and summarized output per host.
Instructions
Run the same shell command concurrently on one or more configured SSH hosts. targets must contain host IDs from hosts_list. Commands stay in each workspace unless the user has granted global mode locally. Default output is return code plus the last 10 lines and 1500 characters from the most useful stream per host, within one global response budget. Use result_read for undisclosed or full output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| targets | Yes | Unique host IDs from hosts_list; one to sixteen targets. | |
| timeout | No | ||
| concurrency | No | ||
| full_output | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |