wait_for_scan
Wait (up to ~45s) for a scan to finish, then return it in the same views as get_scan (summary by default). If it is still running when the wait elapses, returns the current pending state — call again to keep waiting. A scan of a slow page can take a couple of these.
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": {
"scanId": "<scanId>"
},
"name": "wait_for_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | "summary" (default): scores, category counts, ranked top issues, and the target-keyword grade. "checks": adds every individual check, with the page's raw body text left out. "full": everything, including that body text — tens of thousands of tokens, and you can fetch the page yourself for less. | |
| scanId | Yes | UUID of the scan. |