Wait for workers to finish
wait_workersBlock until specified worker processes finish and acceptance commands complete, returning one result row per worker; the 60-second cap reports timed_out so you can call again with the same IDs.
Instructions
Block until the given workers settle (process exited and acceptance run), then return one row each. A call waits 60 seconds at most and says so in timed_out; call again with the same ids. allow_long_wait lifts the cap only when the client's own tool timeout is known to be longer.
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": {
"task_ids": "<task_ids>"
},
"name": "wait_workers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | all | |
| compact | No | One short row per worker; the default unless include_events | |
| poll_ms | No | ||
| task_ids | Yes | ||
| timeout_ms | No | ||
| event_limit | No | ||
| emit_progress | No | Send progress notifications while waiting | |
| include_events | No | ||
| allow_long_wait | No |