Wait for assessment
air_wait_for_assessmentWaits for an assessment to finish, fail, produce a report, or move to a new step, using backoff. Returns the current stage line and report URL so you can update the person and keep polling.
Instructions
Wait until an assessment is completed, failed, or reportAvailable, or until its step differs from lastStageLabel, up to timeoutMs. Uses exponential backoff. A new step returns ready:false with stageLabel ("Step 4 of 12: Checking each risk theme"), the line to show the person, and reportUrl. Call again with lastStageLabel set to the line you showed. Returns ready:false with the last observed status if the wait budget runs out — call again to keep waiting. Requires assessments:read.
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": {
"assessmentPid": "<assessmentPid>"
},
"name": "air_wait_for_assessment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | Default 1800000ms; max 1800000ms | |
| assessmentPid | Yes | ||
| lastStageLabel | No | The step line you last showed the person; omit on the first wait |