Wait for Harness progress
wait_runPoll a durable host run for up to 30 seconds to retrieve its latest snapshot and continuation contract, then follow the contract to keep polling until the run completes.
Instructions
Poll durable Host history for at most 30 seconds and return the latest snapshot plus hostPollContract. Call this native MCP tool directly; never poll through a temporary Node, PowerShell, Python, or shell client. A timeout is a slice, not completion. If hostPollContract.hostMustCallWaitRunAgain is true, you MUST call wait_run again immediately. Do not send a final user answer, mark the delegated task complete, or skip consuming assistantText while the run is still running. Unrelated shell or background-task notifications are not authorization to stop polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| timeoutMs | No |