job_wait
Wait for a background job to finish and retrieve its review automatically. Use after delegating a task to avoid manual polling and get notified when the job completes, fails, or is cancelled.
Instructions
Wait for a background job to finish and return its review as a completion ping.
Call this immediately after delegate_task(background=True) instead of repeatedly polling job_status or ending the turn. The pending MCP call resumes when the job completes, fails, or is cancelled, so the orchestrator can review and report the outcome without the human babysitting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| agent_name | No | default_agent | |
| timeout_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |