wait_for_completions
Wait for completions across multiple submitted jobs, then collect their durable results. Reuse the cursor to replay results; advance to consume new ones.
Instructions
Collect durable terminal results across multiple known jobs after a cursor.
Existing completions return immediately. Otherwise the call waits until at least one selected job completes or the optional call-level timeout expires. Reusing the same cursor replays results; advancing to next_cursor consumes the returned batch. A timeout never cancels a managed job.
Submit all independent jobs before calling this tool. Treat delivery as at-least-once: process and deduplicate by completion_id before advancing the cursor. Do not use this for one job, do not poll get_job_status between continuation calls, and never resubmit active jobs after a waiter disconnects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| job_ids | Yes | ||
| after_cursor | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||