Wait for task
wait_taskPoll a task until completion, returning the final state within a configurable timeout.
Instructions
Poll a task until it completes (or the timeout elapses). Returns the final state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait before giving up. | |
| interval | No | Seconds between polls. | |
| task_uid | Yes | The task id returned by add_task. |