ouroboros_job_wait
Poll a background job until it changes state after a start command. Configure timeout and event filters to match progress, phase, or terminal status.
Instructions
Wait briefly for a background job to change state. Useful for conversational polling after a start command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | 'full' (default), 'summary', or 'compact'. | full |
| cursor | No | Previous cursor from job_status or job_wait | |
| job_id | Yes | Job ID returned by a start tool | |
| stream | No | 'progress' (default) watches job/execution progress; 'linked' also streams linked session, lineage, and subagent events. | progress |
| wait_for | No | 'raw' (default) returns on any job event, preserving existing behavior; 'ac_change' waits for AC/Sub-AC/phase progress or terminal status; 'attention_or_ac_change' additionally wakes for Synapse delivery status; 'phase_change' waits for phase transitions or terminal status; 'terminal' waits only for terminal status. | raw |
| timeout_seconds | No | Maximum seconds to wait for a change. Defaults to 0 so the tool returns an immediate snapshot and never holds the MCP client open unless the caller explicitly asks for long-polling. Values above 5 are capped so clients with MCP tool-call timeouts can poll safely. |