Run commands in parallel
batchRun multiple commands in parallel and return all results in one call, so you can gather independent information without sequential executions.
Instructions
Run multiple commands in parallel and return all results. Each command is a binary plus an args array, executed without a shell (for a pipeline use command='sh', args=['-c', '...']). Use when you need to gather independent pieces of information in a single tool call instead of multiple sequential calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | No | Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elapsed | Yes | ||
| results | Yes | ||
| retained | No |