wait_for_job
Poll an antiSMASH job status at intervals until it completes or errors, with configurable maximum wait and poll interval for long-running analyses.
Instructions
Wait for an antiSMASH job to complete by polling its status. This is a blocking operation that checks the job status at regular intervals until the job is done or an error occurs. Use with caution as antiSMASH analysis can take 10+ minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The antiSMASH job ID to wait for. | |
| max_wait | No | Maximum seconds to wait before giving up. | |
| server_type | No | Type of antiSMASH server the job was submitted to. | bacteria |
| poll_interval | No | Seconds between status checks. |