worker_wait
Blocks until a running background job finishes or the specified wait_seconds timeout elapses, so you can synchronize with delegated CLI work.
Instructions
Wait for a running background job to finish (up to wait_seconds, default 45s).
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": {
"job_id": "<job_id>"
},
"name": "worker_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by an earlier deferred call. | |
| wait_seconds | No | Max seconds to wait (default 45, max 55). |