Run or resume a checkpointed structured swarm batch
swarm_batch_runExecute or resume a checkpointed structured batch across multiple items with microbatching, partial recovery, and circuit breakers. Use it to run repeatable batch jobs that resume after failures.
Instructions
Execute or resume a checkpointed structured batch (with microbatching, partial recovery, and circuit breakers) across 'auto' (default), 'codebuddy', or 'zcode'.
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": {
"batchId": "<batchId>",
"task": "<task>",
"schema": "<schema>",
"items": "<items>"
},
"name": "swarm_batch_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| task | Yes | ||
| items | Yes | ||
| model | No | ||
| schema | Yes | ||
| backend | No | ||
| batchId | Yes | ||
| profile | No | ||
| provider | No | ||
| ephemeral | No | ||
| maxCredit | No | ||
| domainRule | No | ||
| maxRetries | No | ||
| templateId | No | ||
| includeItems | No | ||
| reserveSlots | No | ||
| itemTimeoutMs | No | ||
| capacityWaitMs | No | ||
| maxConcurrency | No | ||
| microbatchSize | No | ||
| pollIntervalMs | No | ||
| maxBatchInputChars | No |