await_subtasks
Wait for a batch of subtasks to finish and return each child's state, summary, changed files and merge status, so you can decide whether to keep polling, retry failures, or continue.
Instructions
Wait for your latest subtask batch (default 30 seconds, at most 120). Returns child states, scrubbed summaries, changed files and merge status. ready: true means every child merged and the runner brought integration into your worktree. When children are still running, call again. Failed or cancelled children are reported for you to retry with new ids or escalate.
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": {
"execution_id": "<execution_id>",
"agent_token": "<agent_token>"
},
"name": "await_subtasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | ||
| agent_token | Yes | The agent token join_execution returned (once). | |
| execution_id | Yes | The heads-down run (exe-…). |