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