Execute Batch
execute_batchRun independent shell tasks in parallel with dependency ordering, concurrency limits, timeouts, and optional background batches that return a batch ID immediately.
Instructions
Run independent tasks in parallel, including opt-in shell commands. Use depends_on for a plan; concurrency sets the limit, wait=false returns a batch_id immediately.
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": {
"tasks": "<tasks>"
},
"name": "execute_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | False returns a background batch_id immediately | |
| tasks | Yes | ||
| concurrency | No | ||
| output_mode | No | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| status | No | ||
| results | No | ||
| batch_id | No |