subagent_wait
Wait until any specified subagent job finishes or sends a message/question, then return the event. Call after starting jobs to avoid polling.
Instructions
Wait until one of the given jobs finishes, or a subagent sends a message or question, then return what happened. In Claude Code a long wait moves to the background on its own and you get a notification when it returns, so call this after starting jobs instead of polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_ids | Yes | ||
| timeout_seconds | No |