scanner_wait_for_scan
Waits for a launched scanner task to finish by polling status at a set interval until completion or timeout, returning final task state and elapsed time.
Instructions
Wait until no task is running (use after scanner_launch_scan), polling the
task list every poll_s seconds (0.5-30) for up to timeout_s (1-7200).
Reports progress to the client when supported. Returns
{done, timed_out, elapsed_s, last} where last is the final task snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll_s | No | ||
| timeout_s | No |