dispatch_batches
Returns currently parallelizable workflow step batches with prompts and upstream results so a host agent can dispatch subagents concurrently. Reinvoke when failures or skips change gate conditions.
Instructions
方案B入口:返回当前可并行的步骤批次 [{stepIds, prompts, upstreamResults}](批内并行、批间串行,按"全部成功"投影分组)+ runtimeDefaults(服务器级默认模型/超时/轮数/工具),宿主 agent 拿批次并行派子代理执行,每个完成后用 complete_step 回填;若中途有失败/跳过导致门条件变化,重新调用本工具取新批次。
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": {
"id": "<id>"
},
"name": "dispatch_batches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |