wait_for_task
Monitor a task based on its UUID until it completes or reaches a terminal state, with an adjustable timeout to avoid indefinite waiting.
Instructions
Poll until the task reaches a terminal state or times out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_uuid | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | No | ||
| result | No | ||
| status | Yes | ||
| task_id | Yes | ||
| date_done | No | ||
| acknowledged | No | ||
| date_created | Yes | ||
| task_file_name | No | ||
| related_document | No |