Wait for comparison
wait_for_comparisonWaits until the job is completed, failed or cancelled, or timeoutSeconds pass, then answers status, progress and, once terminal, the summary (passed, failed, issuesBySeverity). On "running", call it again. Free.
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": {
"jobId": "<jobId>"
},
"name": "wait_for_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Returned at job creation, e.g. web-1a2b3c. | |
| jobToken | No | Returned at job creation; optional when the HTTP headers carry the key that paid the job. | |
| timeoutSeconds | No | Seconds to wait for a terminal status before answering with the current one (default 60, at most 300). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | ||
| jobId | No | ||
| status | No | ||
| summary | No | ||
| progress | No | ||
| followUps | No | ||
| pagesReturned | No |