Wait for OMP Task
omp_waitWait for an OMP job to reach a terminal state, polling up to a configurable timeout (default 30s, max 60s). Returns the final status and summary, eliminating the need for tight polling loops.
Instructions
Wait for an existing OMP job to reach a terminal status, polling up to wait_seconds (default 30s, max 60s). Returns the current status and summary once terminal or when the wait deadline elapses. Avoid polling in a tight loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| job_id | Yes | ||
| status | Yes | ||
| attempt | Yes | ||
| summary | No | ||
| artifacts | Yes | ||
| remaining | Yes | ||
| session_id | No | ||
| details_path | No | ||
| max_attempts | Yes | ||
| verification | Yes |