jobs_wait
Wait for an asynchronous job to finish, up to 9 seconds, and return its current result; call again if it is still running.
Instructions
Wait until a job finishes (at most timeout_seconds, default and limit 9) and return it as jobs.get does; call again while it is still running.
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": "<job>"
},
"name": "jobs_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | Job id from the call that started it. | |
| timeout_seconds | No | Longest wait. |