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.
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": "omp_wait"
}
}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 |